ContentType.isA

Determines if type is a subset of supertype.

class ContentType
static
int
isA
(
string type
,
string supertype
)

Parameters

type string

a content type string

supertype string

a content type string

Return Value

Type: int

TRUE if type is a kind of supertype, FALSE otherwise.

Meta