setArray(_:)
Sets the receiving array’s elements to those in another given array.
Declaration
func setArray(_ otherArray: [Any])Parameters
- otherArray:
The array of objects with which to replace the receiving array’s content.
Sets the receiving array’s elements to those in another given array.
func setArray(_ otherArray: [Any])The array of objects with which to replace the receiving array’s content.