Function readDirectoryNamesSafe

  • Reads the basenames of all FSO's (files/directories/etc.) in a directory. If the directory does not exist, returns undefined.

    Parameters

    • dirpath: string

      The path of the directory to read.

    Returns Promise<string[] | undefined>

Generated using TypeDoc