tryAdd

tryAdd(value: MemberType): Boolean, lockReceiver, updating;

The tryAdd method of the DynaDictionary class attempts to add the value specified by the value parameter to the dynamic dictionary if it is not already present. It returns true if the value was successfully added; otherwise it returns false.

2020.0.01 and higher