spread operator

English

Noun

spread operator (plural spread operators)

  1. (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.
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.