asMap

fun Expression<*>.asMap(vararg fallbacks: Expression<*>): Expression<MapValue<*>>(source)

Asserts that this value is a map.

In case this expression is not a map, each of the fallbacks is evaluated in order until a map is obtained. If none of the inputs are maps, the expression is an error.