Returns the second item in the input list. It will return NoValue if no second item is available.
Second ( list As List ) As Any
| Argument | Type | Description |
|---|---|---|
| list | list | The input list, from which to retrieve the second item. |
Intent >second({5, 3, 6})
--> 3
Here, the return value is the value of the second item in the input list: the integer value 3. Intent >second({"a"})
--> NoValue
Here, there is no second item in the input list, so NoValue is returned.