is_subtype_of


Description:

public bool is_subtype_of (VariantType supertype)

Checks if this is a subtype of supertype.

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

Parameters:

this

a VariantType

supertype

a VariantType

Returns:

true if this is a subtype of supertype

Since 2.24