Variant.opAssign

This operator allows you to assign arbitrary values directly into an existing Variant.

struct Variant
opAssign
(
T
)
()

Parameters

value T

The value you wish to put in the Variant.

Return Value

Type: Variant

The new value of the assigned-to variant.

Examples

Variant v;
v = 42;

Meta