array

open fun <T> array(value: Expression<*>, type: Expression<String>? = null, length: Expression<Number>? = null): Expression<List<T>>

Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.