Repository URL to install this package:
|
Version:
1.0.2 ▾
|
import { lstatSync } from 'fs'
export function isDir(file: string) {
try {
return lstatSync(file).isDirectory()
} catch (fileException) {
return false
}
}