Take¶
Returns the first n elements of a list.
$ wo 'Take[{1, 2, 3}, 5]'
Take::take: Cannot take positions 1 through 5 in {1, 2, 3}.
.* (regex*)
Take[{1, 2, 3}, 5]
A span i;;j takes elements i through j.
Take¶Returns the first n elements of a list.
$ wo 'Take[{1, 2, 3}, 5]'
Take::take: Cannot take positions 1 through 5 in {1, 2, 3}.
.* (regex*)
Take[{1, 2, 3}, 5]
A span i;;j takes elements i through j.