take
definition
The take method takes an integer N as parameter and will use it to return a new collection consisting of the first N elements.
demo
Last updated
Was this helpful?
The take method takes an integer N as parameter and will use it to return a new collection consisting of the first N elements.
Last updated
Was this helpful?