Skip to content

Add Variant::IsType

Kenneth Moreland requested to merge kmorel/vtk-m:variant-istype into master

The Variant class was missing a way to check the type. You could do it indirectly using variant.GetIndex() == variant.GetIndexOf<T>(), but having this convenience function is more clear.

Merge request reports