Function isDirectory

  • Check if the file at a path is a directory.

    Parameters

    • path: string

      the path to the file to check

    • callback: ((err, text?) => void)

      callback function to call with whether or not the file is a directory, or a value for err if the operation fails

        • (err, text?): void
        • Parameters

          Returns void

    Returns void

  • Parameters

    • path: string

    Returns Promise<boolean>

Generated using TypeDoc