Repository URL to install this package:
|
Version:
1.0.2 ▾
|
import { isFile } from './isFile'
import { isDir } from './isDir'
export function isFileOrDir(file: string) {
return typeof file === 'string' && (isDir(file) || isFile(file))
}