turbodombuilder - v0.9.5
    Preparing search index...

    Function getFileExtension

    • Parameters

      • Optionalstr: string

        The filename or path

      Returns string

      The extension, or an empty string if not found.

      Extracts the extension from the given filename or path (e.g.: ".png").