Convert to not-null or crash

Syntax

FORCE …nullable-expr…

Typing

t? -> t

Description

Only force a value when you are certain it is not NULL, as the worker will abort otherwise.

Does not accept non nullable operands.

Examples

expression evaluates to
FORCE(U8?(42)) 42

See Also

Selects the first non null operand Check for NULL