πŸ“Š Ruby
Q. What is the method used to check if a variable is numeric in Ruby?
  • (A) .numeric?
  • (B) .is_numeric?
  • (C) .number?
  • (D) .numeric_value?
πŸ’¬ Discuss
βœ… Correct Answer: (B) .is_numeric?

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
144
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate