VariantType.isSubtypeOf

Checks if type is a subtype of supertype.

This function returns TRUE if type is a subtype of supertype. All types are considered to be subtypes of themselves. Aside from that, only indefinite types can have subtypes.

class VariantType
bool
isSubtypeOf

Parameters

supertype VariantType

Return Value

Type: bool

TRUE if type is a subtype of supertype

Since 2.24