• Checks if the input value is a supported image format.

    Parameters

    • value: unknown

      the value to check

    Returns value is ImageFormats

    true if the value is 'JPEG' or 'PNG', false otherwise