assert
Table of Contents
Operator
assert — evaluate an assertion
Synopsis
assert <expr>
Description
The assert
operator evaluates the Boolean expression <expr>
for each
input value, yielding its input value if <expr>
evaluates to true or a
structured error if it does not.
Examples
assert a > 0
true
Loading...
assert a > 0
true
Loading...