Skip to content

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

Function: isAbsolute()

isAbsolute(path): boolean

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

Check if a path is absolute (starts with /).

Parameters

path

string

Path string

Returns

boolean

True if the path is absolute

Licensed under BUSL-1.1