Luna::Variant::operator=

Variant & operator=(i64 v)

Assigns one variant with one number. The variant type will be VariantType::number and VariantNumberType::number_i64 after this assignment.

Parameters

  • in v

    The number value to set.

Return value

Returns *this.