• Gets the file extension from a path

    Parameters

    • filePath: string

      File path

    Returns string

    File extension (including the dot), or empty string if no extension