Skip to main content

Argumentos

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

Retornos

boolean
True only when the resolved path exists and is a regular file; folders and missing paths return false.

Exemplo

Verifique se um workspace path resolve para um regular file existente.