contentTypeEquals

fnbool contentTypeEquals(string type1, string type2)

Compares two content types for equality.

Parameters

type1a content type string
type2a content type string

Returns

true if the two strings are identical or equivalent,

false otherwise.