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

> Elimina un folder existente dentro del workspace de forma recursive con recursive folder deletion.

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

  ## Argumentos

  <ParamField path={"path"} type={"string"} required>
    Path resuelto dentro del workspace despues de separator normalization y workspace-boundary checks. El destino debe existir y ser un directory; files no se aceptan.
  </ParamField>

  ## Ejemplo

  Elimina un workspace folder existente y su contenido.

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

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