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.

Last Updated: 11 June, 2024