Member predicate Object::NumericObject::booleanValue

Gets the Boolean value that this object would evaluate to in a Boolean context, such as bool(x) or if x: ...

boolean booleanValue()