clide-js
    Preparing search index...

    Function isFile

    • Attempt to determine if a path is a file. If the path does not exist, check if the path with any of the provided fallback extensions is a file.

      Parameters

      • path: string

        The path to check.

      • fallbackExtensions: string[] = ...

        The fallback extensions to check if the path does not exist.

      Returns boolean