On this page

Returns location of targetPath relative to rootPath.

direntFs.isBlockDevice(): boolean
Returns:boolean

true when is block device, otherwise false

direntFs.isCharacterDevice(): boolean
Returns:boolean

true when is character device, otherwise false

direntFs.isDirectory(): boolean
Returns:boolean

true when is directory, otherwise false

direntFs.isFIFO(): boolean
Returns:boolean

true when is FIFO, otherwise false

direntFs.isFile(): boolean
Returns:boolean

true when is file, otherwise false

direntFs.isSocket(): boolean
Returns:boolean

true when is socket, otherwise false

direntFs.isSymbolicLink(): boolean
Returns:boolean

true when is symbolic link, otherwise false

Type:string | Buffer

name

Type:string

path

Type:string

path