Skip to main content

Arguments

string
required
Path resolved inside the workspace after separator normalization and workspace-boundary checks. Invalid or outside-workspace paths error before a boolean is returned.

Returns

boolean
True only when the resolved path exists and is a directory; files and missing paths return false.

Example

Check whether a workspace path resolves to an existing directory.