isVariant

Determines if the given @type is the variant type.

Return

true if @type is the variant type

Since 2.24