isDirectory Method

Check if path is a directory.

isDirectory(filePath: string): boolean

Parameter Type Description
filePath string Path of the file.

Returns - boolean

True if path is directory.

Defined in

Last Updated: 13 June, 2024