assert
Assert that a condition is true. Throws an error with the message if condition is false.
condition(required): boolean expression to verifymessage(optional): error message if assertion fails
utlx
assert(count($input.items) > 0, "Input must have at least one item")
assert($input.amount >= 0, "Amount cannot be negative")