rest operator

noun

An operator that collapses a number of individual values into an array.

Meanings

nounrest operator (plural rest operators)

plural rest operators

  1. computingAn operator that collapses a number of individual values into an array.

Origin

From rest (“that which remains”), as it is often used to provide the last few arguments to a function call.

Full word history & related roots →
Cite this entry
APA

rest operator. (n.d.). In WatkinsX Dictionary. Retrieved November 3, 2026, from https://dictionary.watkinsx.com/word/rest%20operator

MLA

“rest operator.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/rest%20operator. Accessed November 3, 2026.

Chicago

WatkinsX Dictionary, s.v. “rest operator,” accessed November 3, 2026, https://dictionary.watkinsx.com/word/rest%20operator.

Source: rest operator on Wiktionary, CC BY-SA 4.0.