falsey - pannous/wasp GitHub Wiki

Truthiness

Falsey objects/constants are those that act as false in statements such as if, while

if x then y else z

0 zero false not true () empty node / set null non-existent == nil,ø
unknown maybe existent undefined maybe-existent, maybe error missing existent but absent and required? error internal error

Internally they are those with explicit operator Node::bool() == false