VariantN.type

TypeInfo type() @property const nothrow @trusted

Returns the typeid of the currently held value.