Function

Gio-2.0Giocontent_type_equals

  • Compares two content types for equality.

    Parameters

    • type1: string

      a content type string

    • type2: string

      a content type string

    Returns boolean

    true if the two strings are identical or equivalent, false otherwise.