# fs.is_dir ## Function Determine whether the path is a directory. ## Syntax ```bt fs(path).is_dir() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Bool | Returns true if the directory is a directory, false otherwise. | ## Example ```bt dir = fs('docs-is-dir') dir.create_dir() result = dir.is_dir() // Output: true print result ``` ## Notes - Returns false if the path does not exist.