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

> workspace 内に存在する regular file を削除します。

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

  ## 引数

  <ParamField path={"path"} type={"string"} required>
    separator normalization と workspace-boundary checks の後、workspace 内で解決される path。対象は存在する regular file である必要があります。folders は受け付けません。
  </ParamField>

  ## 例

  存在する workspace file を削除します。

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

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