tryCopy
tryCopy(toCollection: Collection input): Collection;
The tryCopy method of the DynaDictionary class copies the values from the receiver dynamic dictionary to the specified target toCollection collection that are not present in the target collection, and returns a reference to the target collection.
Dictionary implementations (including the
Exception 1312 (Class of value passed to a collection method incompatible with membership) is raised if the member types are not compatible or exception 1000 (Invalid parameter type) for dictionary types if the keys are not compatible.
2022.0.01 and higher