> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# delfile

> Menghapus regular file yang ada di dalam workspace.

<div className="real-function-page">
  ```lua theme={null}
  delfile(path: string)
  ```

  ## Argumen

  <ParamField path={"path"} type={"string"} required>
    Path yang diselesaikan di dalam workspace setelah separator normalization dan workspace-boundary checks. Target harus ada dan berupa regular file; folders tidak diterima.
  </ParamField>

  ## Contoh

  Hapus workspace file yang sudah ada.

  ```lua theme={null}
  local path = "examples/temporary.txt"
  writefile(path, "temporary")

  delfile(path)
  print(isfile(path))
  ```
</div>
