Skip to main content

Аргументы

string
обязательно
Path resolved inside the workspace after separator normalization and workspace-boundary checks. Invalid or outside-workspace paths error before a boolean is returned.

Возвраты

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

Пример

Проверьте, разрешается ли workspace path в существующий regular file.