Answers for "is it a number ruby"

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

Browse Popular Code Answers by Language