Luna::Variant::push_back

void push_back(Variant &&val)

Move-inserts one variant to the end of the variant array.

Parameters

  • in val

    The variant to insert.

Valid Usage

  • The current variant must be an array variant or a null variant. If the current variant is a null variant, it will be converted to an empty array variant before the insertion is performed.