Luna::Variant::Variant

Variant(f64 v)

Initializes one variant of VariantType::number and VariantNumberType::number_f64 and sets its data to the specified value.

Parameters

  • in v

    The number value to set.