Syntax
take([<collection>], <count>)Examples
take('abcde', 3)'abc'
take(createArray(0, 1, 2, 3, 4), 3)[0, 1, 2]
Returns a number of items from the front of an array or string.
take([<collection>], <count>)take('abcde', 3)'abc'
take(createArray(0, 1, 2, 3, 4), 3)[0, 1, 2]