Function gio::content_type_equals

source ·
pub fn content_type_equals(type1: &str, type2: &str) -> bool
Expand description

Compares two content types for equality.

type1

a content type string

type2

a content type string

Returns

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