expo-file-system
Version:
Provides access to the local file system on the device.
11 lines (10 loc) • 352 B
text/typescript
export type PathInfo = {
/**
* Indicates whether the path exists. Returns true if it exists; false if the path does not exist or if there is no read permission.
*/
exists: boolean;
/**
* Indicates whether the path is a directory. Returns true or false if the path exists; otherwise, returns null.
*/
isDirectory: boolean | null;
};