6 kyu

Is Integer Array?

4,955 of 7,015ravikiranj

Description:

Write a function that:

  • returns true / True if every element in an array is an integer or a float with no decimals.
  • returns true / True if array is empty.
  • returns false / False for every other input.
Arrays
Fundamentals

Stats:

CreatedDec 5, 2013
PublishedDec 6, 2013
Warriors Trained11483
Total Skips1094
Total Code Submissions89993
Total Times Completed7015
JavaScript Completions4955
Ruby Completions309
Python Completions1803
Total Stars151
% of votes with a positive feedback rating89% of 810
Total "Very Satisfied" Votes666
Total "Somewhat Satisfied" Votes116
Total "Not Satisfied" Votes28
Ad
Contributors
  • ravikiranj Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • rowcased Avatar
  • Avanta Avatar
  • hobovsky Avatar
  • Glyxerine Avatar
  • ejini战神 Avatar
  • saudiGuy Avatar
Ad