ContentType.isA

Determines if @type is a subset of @supertype.

struct ContentType
static
bool
isA
(
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.

Meta