Array.prefix()

Revision as of 01:40, 4 May 2020 by Devika (talk | contribs) (→‎Array.prefix(Prefix))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Array.prefix(Prefix)

Returns an array with the Prefix applied to each element.

1..10.prefix("pre")

pre1
pre2
pre3
pre4
pre5
pre6
pre7
pre8
pre9
pre10

See also

suffix

pieces