Function check_file_extension

  • Check if a file has the extension

    Returns

    True if extension, false if not

    Parameters

    • file_path: string

      File path

    • file_extension_expected: string

      Extension of the file

    • case_sensitive: boolean

      Case sensitive comparation

    Returns boolean

Generated using TypeDoc