123456789101112131415161718192021 |
- return {
- summary = 'Check whether a path is a file.',
- description = 'Check if a path exists and is a file.',
- arguments = {
- {
- name = 'path',
- type = 'string',
- description = 'The path to check.'
- }
- },
- returns = {
- {
- name = 'isFile',
- type = 'boolean',
- description = 'Whether or not path is a file.'
- }
- },
- related = {
- 'lovr.filesystem.isDirectory'
- }
- }
|