@is


Description:

public bool @is (string type, string subtype)

The subtype of "*" will match any subtype.

If ct is null, then it will match the type "text/plain".

Parameters:

this

A content type specifier, or null.

type

A type to check against.

subtype

A subtype to check against, or "*" to match any subtype.

Returns:

true if the content type ct is of type type/subtype or false otherwise