Permalink
Browse files

Add a new until ‘isNumber’

  • Loading branch information...
1 parent dbc87ee commit f3d9fa5c1f4789e39b754fcfcec91c169ff3d6ee @Baggz committed Mar 8, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/utils/isNumber.js
@@ -0,0 +1,8 @@
+/**
+ * IsNumber
+ *
+ * @param {object} input
+ */
+var isNumber = function(input) {
+ return typeof input === 'number';
+};

0 comments on commit f3d9fa5

Please sign in to comment.