New in Formulas 2.0
The at()
function will return the list item value at the specified index. Note that this function is zero-indexed, so 0
will return the first value.
at(list, number)
list.at(number)
Code language: JavaScript (javascript)
Example Formulas
at(["Batman", "Robin", "V", "Doctor Doom"], 0) /* Output: Batman */
[1, 2, 3, 4].at(3) /* Output: 4 */
Code language: JavaScript (javascript)