false otherwise.
contentTypeEquals
fn
bool contentTypeEquals(string type1, string type2) nothrowCompares two content types for equality.
Parameters
type1 | a content type string |
type2 | a content type string |
Returns
true if the two strings are identical or equivalent,