fs.is_dir

fs.is_dir

fs.is_dir

Function

Determine whether the path is a directory.

Syntax

Parameters

No parameters.

Return value

TypeDescription
BoolReturns true if the directory is a directory, false otherwise.

Example

Notes

  • Returns false if the path does not exist.