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

> Удаляет существующий folder внутри workspace рекурсивно через recursive folder deletion.

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

  ## Аргументы

  <ParamField path={"path"} type={"string"} required>
    Path, который разрешается внутри workspace после separator normalization и workspace-boundary checks. Цель должна существовать и быть 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>
