array

fun array(block: Expression.ExpressionBuilder.() -> Unit): Expression

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.