Variant.type

Returns $(D_PSYMBOL TypeInfo) corresponding to the current type.

If this $(D_PSYMBOL Variant) isn't initialized, returns $(D_KEYWORD null).

struct Variant
@property
TypeInfo
type
()

Return Value

Type: TypeInfo

$(D_PSYMBOL TypeInfo) of the current type.

Meta