Skip to main content
Returns true if path is an existing folder inside Seliware’s workspace folder, false otherwise.
path is workspace-relative. Non-existent paths and file paths both return false without raising an error.

Parameters

Returns

boolean - true only if path resolves to a folder. Returns false for files, malformed paths, and anything that doesn’t exist.

Example

Use this check to verify directory structures before writing files.