> ## 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

> Supprime un regular file existant dans le workspace.

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

  ## Arguments

  <ParamField path={"path"} type={"string"} required>
    Path resolu dans le workspace apres separator normalization et workspace-boundary checks. La cible doit exister et etre un regular file; les folders ne sont pas acceptes.
  </ParamField>

  ## Exemple

  Supprime un workspace file existant.

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

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