ContentType.equals

Compares two content types for equality.

class ContentType
static
int
equals
(
string type1
,
string type2
)

Parameters

type1 string

a content type string

type2 string

a content type string

Return Value

Type: int

TRUE if the two strings are identical or equivalent, FALSE otherwise.

Meta