this != 0
import checkedint.throws : SmartInt; // use IntFlagPolicy.throws SmartInt!int n = -315; assert( cast(bool)n); n = 0; assert(!cast(bool)n);
See Implementation
this != 0