Skip to main content

Argumen

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

Return

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

Contoh

Periksa apakah workspace path diselesaikan menjadi regular file yang ada.