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

> Menghapus folder yang ada di dalam workspace secara recursive dengan recursive folder deletion.

<div className="real-function-page">
  ```lua theme={null}
  delfolder(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 directory; files tidak diterima.
  </ParamField>

  ## Contoh

  Hapus workspace folder yang ada beserta isinya.

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

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