This member can be used to determine if the value stored in the Variant is of the specified type. Note that this comparison is exact: it does not take implicit casting rules into account.
true if the Variant contains a value of type T, false otherwise.
auto v = Variant(cast(int) 42); assert( v.isA!(int) ); assert( ! v.isA!(short) ); // note no implicit conversion
See Implementation
This member can be used to determine if the value stored in the Variant is of the specified type. Note that this comparison is exact: it does not take implicit casting rules into account.