length

open fun length(@NonNull expression: Expression): Expression

Gets the length of an array or string.

Return

expression

Parameters

expression

an expression object or expression string

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#lenght">Style specification</a>

open fun length(@NonNull input: String): Expression

Gets the length of an array or string.

Return

expression

Parameters

input

a string

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#lenght">Style specification</a>