spread operator
Appearance
English
[edit]Noun
[edit]spread operator (plural spread operators)
- (programming) An operator that expands an array or similar data structure into its individual elements.
- Coordinate term: rest operator
- 2021, David Greenhalgh, Josh Skeen, Andrew Bailey, Kotlin Programming: The Big Nerd Ranch Guide:
- The spread operator causes the elements of a collection to be treated as individual parameters to functions that accept a variable number of arguments.