APIdock
/
Ruby
/
Browse
About
method
nil?
v2_5_5
-
Show latest stable
- Class:
NilClass
nil?
()
public
Only the object
nil
responds true to
nil?
.
Show source
static VALUE rb_true(VALUE obj) { return Qtrue; }
Related methods
Instance methods
&
===
^
inspect
nil?
rationalize
to_a
to_c
to_f
to_h
to_i
to_r
to_s
|