Is x_is.a? something that tranfers x into an array?


#1


https://www.codecademy.com/en/courses/ruby-beginner-en-L3ZCI/3/1?curriculum_id=5059f8619189a5000201fbcb


odds_n_ends = [:weezard, 42, "Trady Blix", 3, true, 19, 12.345]
ints = odds_n_ends.select {|x| x.is_a? Integer}


#2

Is there a purpose for this post?


#3

I forgot what "is.a?" does. Was it in an earlier section, If so, I can't find it.


#4

https://www.google.com/search?q=ruby+doc+is_a