Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save snowman-repos/8840614 to your computer and use it in GitHub Desktop.
Save snowman-repos/8840614 to your computer and use it in GitHub Desktop.
Verify that a given argument is a number
isNumber = (n) ->
not isNaN(parseFloat(n)) and isFinite(n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment