Luna::Variant::Variant

Variant(i64 v)

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

Parameters

  • in v

    The number value to set.