Property.set

bool set(T newValue) @safe

Set the current value.

When the new value compares equal to the current value, no emission occurs and set returns false.

Parameters

newValueThe value to assign.

Returns

true when the value changed and onChanged was emitted.