Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add a new utility called ‘isFunction’

  • Loading branch information...
commit c5b277fd9bdf6f74e7f62009be19fc31635858b8 1 parent 8366eb5
@Baggz authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/utils/isFunction.js
View
8 src/utils/isFunction.js
@@ -0,0 +1,8 @@
+/**
+ * IsFunction
+ *
+ * @param {object} input
+ */
+var isFunction = function(input) {
+ return typeof input === 'function';
+};
Please sign in to comment.
Something went wrong with that request. Please try again.