Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
BasicObject#!
() -> bool
!obj → true or false
object.c
View on GitHub ↗
VALUE
rb_obj_not(VALUE obj)
{
return RBOOL(!RTEST(obj));
}
Boolean negate.