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

> Loescht einen vorhandenen folder innerhalb des workspace rekursiv mit recursive folder deletion.

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

  ## Argumente

  <ParamField path={"path"} type={"string"} required>
    Path, der nach separator normalization und workspace-boundary checks im workspace aufgeloest wird. Das Ziel muss existieren und ein directory sein; files werden nicht akzeptiert.
  </ParamField>

  ## Beispiel

  Loesche einen vorhandenen workspace folder und seine Inhalte.

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

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