contentTypeIsA

Determines if type is a subset of supertype.

bool
contentTypeIsA
(
string type
,
string supertype
)

Parameters

type string

a content type string

supertype string

a content type string

Return Value

Type: bool

true if type is a kind of supertype, false otherwise.