mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Enhance Numeric#nonzero?
doc
Add `zero?` as a related method
This commit is contained in:
parent
25a8b76c76
commit
dd578cf2f1
1 changed files with 2 additions and 0 deletions
|
@ -862,6 +862,8 @@ rb_int_zero_p(VALUE num)
|
|||
* Of the Core and Standard Library classes,
|
||||
* Integer, Float, Rational, and Complex use this implementation.
|
||||
*
|
||||
* Related: #zero?
|
||||
*
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue