Vampire Survivors Support - v3.0.0
    Preparing search index...

    Function hasExtension

    • Checks a file's extension, ignoring case.

      Parameters

      • file: string

        Path of the file.

      • extension: string

        Lower-case extension including the dot.

      Returns boolean

      True if the file has the extension; otherwise false.