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

# delfolder

> workspace 内に存在する folder を recursive folder deletion で recursive に削除します。

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

  ## 引数

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

  ## 例

  存在する workspace folder とその内容を削除します。

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

  delfolder(path)
  print(isfolder(path))
  ```
</div>
