Luna::Variant::operator=
Variant & operator=(f64 v)
Assigns one variant with one number. The variant type will be VariantType::number and VariantNumberType::number_f64 after this assignment.
Parameters
-
in v
The number value to set.
Return value
Returns *this
.