Answers for "ruby is a number"

1

ruby is int

1.is_a? Integer
=> true
"[email protected]".is_a? Integer
=> false
nil.is_a? Integer
=> false
Posted by: Guest on June-07-2020
0

ruby test is number

12.is_a? Numeric
Posted by: Guest on August-30-2020

Browse Popular Code Answers by Language