wix-incubator / kissfs

Extensible and reactive text-based file-system library that keeps it simple, universal and cross-platform
MIT License
12 stars 5 forks source link

add `isExists` to `FileSystem` and `FileSystemReadSync` APIs #101

Open amir-arad opened 6 years ago

amir-arad commented 6 years ago

isExists returns true if a provided path arguments refers to an existing file / folder. optional type argument ('dir'|'file') can be provided, to return false also when the path points to a node of the wrong type.