object

open fun object(@NonNull input: Expression): Expression

Asserts that the input value is an object. If it is not, the expression is an error The asserted input value is returned as result.

Return

expression

Parameters

input

expression input

See also

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