7 kyu

For the sake of argument

4,596 of 5,292jnicol

Description:

Write a function named numbers.

function should return True if all parameters are of the Number type.

The function should accept any number of parameters.

Example usage:

numbers(1, 4, 3, 2, 5); # True
numbers(1, "a", 3); # False
numbers(1, 3, None); # False
numbers(1.23, 5.6, 3.2) # True
numbers(1, 4, 3, 2, 5); // true
numbers(1, "a", 3); // false
numbers(1, 3, NaN) // true
numbers(1, 4, 3, 2, 5); // true
numbers(1, "a", 3); // false
numbers(1, 3, NaN); // true
Arrays
Fundamentals

Similar Kata:

Stats:

CreatedOct 12, 2013
PublishedOct 12, 2013
Warriors Trained8004
Total Skips994
Total Code Submissions42151
Total Times Completed5292
JavaScript Completions4596
CoffeeScript Completions88
Python Completions501
Total Stars48
% of votes with a positive feedback rating89% of 470
Total "Very Satisfied" Votes387
Total "Somewhat Satisfied" Votes66
Total "Not Satisfied" Votes17
Ad
Contributors
  • jnicol Avatar
  • jhoffner Avatar
  • user578387 Avatar
  • hobovsky Avatar
  • Kacarott Avatar
  • TheTales Avatar
Ad