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

> Xoa mot folder dang ton tai ben trong workspace theo recursive bang recursive folder deletion.

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

  ## Đối số

  <ParamField path={"path"} type={"string"} required>
    Path duoc resolve ben trong workspace sau separator normalization va workspace-boundary checks. Target phai ton tai va la directory; files khong duoc chap nhan.
  </ParamField>

  ## Ví dụ

  Xoa mot workspace folder dang ton tai va noi dung ben trong.

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

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