use "*" in place of type and/or subtype as a wilcard.
ContentType.isType
bool isType(string type, string subtype)Compares the given type and subtype with that of the given mime type object.
Parameters
type | MIME type to compare against |
subtype | MIME subtype to compare against |
Returns
true if the MIME types match or false otherwise. You may