Retired

Check if a number is an integer (retired)

Description:

Task

Write function f(n) that check whether the value passed to it is an integer

Code limit

Less than 14 characters.

Example

f(1) === true

f(1.234) === false

f(-5) === true

Fundamentals

More By Author:

Check out these other kata created by linisnie

Stats:

CreatedApr 15, 2019
Warriors Trained23
Total Skips0
Total Code Submissions25
Total Times Completed8
JavaScript Completions8
Total Stars0
% of votes with a positive feedback rating10% of 5
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes4
Total Rank Assessments5
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • linisnie Avatar
Ad