Skip to main content Skip to complementary content

LAST_ELEMENT

Returns the last element in the array.

Syntax

LAST_ELEMENT(input)

Arguments

Name Type Description Default Value
input any

Examples

input Output
null::string null
array["a", "b", "c"] c

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!