Function Variant.type

Returns TypeInfo corresponding to the current type.

TypeInfo type() @property;

If this Variant isn't initialized, returns null.

Returns

TypeInfo of the current type.