Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
NilClass#nil?
nil.nil? → true
object.c
View on GitHub ↗
static VALUE
rb_true(VALUE obj)
{
return Qtrue;
}
Returns true. For all other objects, method nil? returns false.