pub enum TrapSentinel {
Falsy,
NegativeTwo,
NegativeOne,
Negative,
}Expand description
Return value of BuiltinFunctionIndex::trap_sentinel.
Variants§
Falsy
A falsy or zero value indicates a trap.
NegativeTwo
The value -2 indicates a trap (used for growth-related builtins).
NegativeOne
The value -1 indicates a trap .
Negative
Any negative value indicates a trap.