Permalink
Browse files

Add a new utility called ‘isNull’

  • Loading branch information...
Baggz committed Mar 12, 2012
1 parent c5b277f commit fdcf0ba2d975596bfbb87db600ef8f8f78dd92f4
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/utils/isNull.js
View
@@ -0,0 +1,8 @@
+/**
+ * IsNull
+ *
+ * @param {object} input
+ */
+var isNull = function(input) {
+ return input === null;
+};

0 comments on commit fdcf0ba

Please sign in to comment.