(name: any | string | undefined | Promise<string | undefined>, baseFolder?: string)
| 109 | } |
| 110 | |
| 111 | static async isFile(name: any | string | undefined | Promise<string | undefined>, baseFolder?: string): Promise<undefined | string> { |
| 112 | const [fullName, stats] = await filepath.stats(name, baseFolder); |
| 113 | return stats?.isFile() ? fullName : undefined; |
| 114 | } |
| 115 | |
| 116 | static async isFolder(name: string | undefined | Promise<string | undefined>, baseFolder?: string): Promise<undefined | string> { |
| 117 | const [fullName, stats] = await filepath.stats(name, baseFolder); |
no test coverage detected