GetDirectoriesInDirectory: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.5.0}} {{FuncDescription|Gets the directories in a specific directory.}} {{FuncSyntax|GetDirectoriesInDirectory(Path, bRecursive)}} {{FuncParameters...")
 
(No difference)

Latest revision as of 16:37, 30 June 2021

GetDirectoriesInDirectory

Type: Function
Context: Server
Introduced: v1.5.0

Description

Gets the directories in a specific directory.

Syntax

GetDirectoriesInDirectory(Path, bRecursive)

Parameters

  • Path
    Path as a string from where to get the directory names.
  • bRecursive
    Whether to get directories form subdirectores as well. Default: false

Return Value

  • Returns the directory names in a table.

Example

See also