extBITNOT function
dynamic
extBITNOT(
- dynamic value
BITNOT(a): bitwise NOT (uses the pure-arithmetic equivalent -x-1 instead of the ~ operator, to guard against possible bitwise-op discrepancies under Web compilation)
Implementation
dynamic extBITNOT(dynamic value) => -varToInt(value) - 1;