参数
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 directory; files and missing paths return false.