nsuite - v1.0.1
    Preparing search index...

    Function isPathExists

    • Checks if a given path exists.

      Parameters

      • path: string

        The path to check.

      Returns Promise<boolean>

      A promise that resolves to true if the path exists, otherwise false.

      import { isPathExists } from "nsuite";
      const isExists = await isPathExists("path/to/file.txt")