Luna::Variant::operator=

Variant & operator=(bool v)

Assigns one variant with one Boolean value. The variant type will be VariantType::boolean after this assignment.

Parameters

  • in v

    The Boolean value to set.

Return value

Returns *this.