Permalink
Browse files

Add a new utility called ‘isUndefined’

  • Loading branch information...
Baggz committed Mar 12, 2012
1 parent 131ebb6 commit 49448c02bfa4e364dc0e9dc41735b1a58ddd64db
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/utils/isUndefined.js
View
@@ -0,0 +1,8 @@
+/**
+ * IsUndefined
+ *
+ * @param {object} input
+ */
+var isUndefined = function(input) {
+ return typeof input === 'undefined';
+};

0 comments on commit 49448c0

Please sign in to comment.