tryCopy__

tryCopy__(toColl: Collection input): Collection;

The tryCopy__ method of the Array class copies the values from the receiver array to the specified target toColl collection that are not present in the target collection, and returns a reference to the target collection.

Exception 1312 (Class of value passed to a collection method incompatible with membership) is raised if the member types are not compatible.

2020.0.02 and higher 2020 releases

2022