ContentType.equals

Compares two content types for equality.

struct ContentType
static
bool
equals
(
string type1
,
string type2
)

Parameters

type1 string

a content type string

type2 string

a content type string

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

Meta