first()

Synopsis

Returns the first item in a list . If list is empty, NoValue is returned.

Syntax

first ( list As List ) As Any 
Argument Type Description
list list Original list

Example 1

Intent >first({5, 3, 6}) 
--> 5 

Example 2

Intent >first({}) 
--> NoValue