Returns a new array that is a copy of the receiving array with the objects contained in another array added to the end.
SDKs
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
func addingObjects(from otherArray: [Any]) -> [Any]
Parameters
otherArray
An array.
Return Value
A new array that is a copy of the receiving array with the objects contained in other
added to the end.