Luna::Variant::number_type

VariantNumberType number_type() const

Gets the number type of the variant.

Return value

Returns the number type of the variant. Returns VariantType::not_number if type of the variant is not VariantType::number,