concat
description
Concatenate two elements of the same type: Arrays, Objects, Sets, Maps, Strings... without intentionally deduping elements: Arrays will be concatenated and may contain duplicates, Objects and Maps will be merged, and Sets will be concatenated without duplicates because Sets themselves can not contain duplicate elements.
concat
will use the addition operator if it has no better option with the input type you provided.
examples
arrays
objects
strings
sets
Last updated