third()

Synopsis

Returns the third item in a list . If list contains less than three elements, it returns NoValue .

Syntax

third ( list As List ) As Any 
Argument Type Description
list List The input list .

Example 1

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

Example 2

No third element exists
Intent >third({"a", "b"}) 
--> NoValue