head
function, since version 1.0.0
categories: arrays
head(arr)
returns the first element from input array
parameters
- arr: array[any] - array of any items
return type:
any
example
head(split('a:b:c', ':'))
return
a
returns the first element from input array
any
head(split('a:b:c', ':'))
return
a
You have decided to access our site without using cookies and other technologies that could greatly enhance your experience. We respect your decision and promise that we will not track you.
Please note that not all functions will be available to you in this mode. Among other things, your won't be able to
Remember that you can always change your privacy settings
This module is compatible with following platforms