Last Function
Description:
Returns the last member of a list.
note
This function is non-evaluable if the list has no members.
Returns:
Any
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The list. |
Examples:
When using functions inside a field, remember the field brackets:
{Last(VariableName)}
Expression | Result |
|---|---|
Last( List("a","b","c") ) | "c" |
Last( List("a") ) | "a" |