ArrayFirst
Return first item in array
Method Signature
Arguments
Argument
Type
Required
Description
Default
array
array
true
The array to get the first item from.
Examples
Member Function
Use the member function to return the first item from an array
Result: 1
Non-Member Function
Return the first item from an array
Result: "Jerry"
Additional Examples
Related
Last updated
Was this helpful?