this != 0
1 import checkedint.throws : SmartInt; // use IntFlagPolicy.throws 2 3 SmartInt!int n = -315; 4 assert( cast(bool)n); 5 6 n = 0; 7 assert(!cast(bool)n);
See Implementation
this != 0