Skip to main content
Returns true if path is an existing file inside Seliware’s workspace folder, false otherwise.
path is workspace-relative. The check is safe on any string - non-existent paths and folder paths both return false rather than raising an error.

Parameters

Returns

boolean - true only if path resolves to a file. Returns false for folders, broken paths, and anything that doesn’t exist.

Example

Paths are relative to the executor’s dedicated sandbox workspace directory.