Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / path / isDirectory

Function: isDirectory()

isDirectory(pathOrUri): boolean

Defined in: packages/fireflow-vfs/src/path/utils.ts:163

Check if path represents a directory.

Parameters

pathOrUri

string

Path or URI string

Returns

boolean

True if the path ends with / or was marked as directory

Licensed under BUSL-1.1