aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_isMaskable.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_isMaskable.js')
-rw-r--r--node_modules/lodash/_isMaskable.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/lodash/_isMaskable.js b/node_modules/lodash/_isMaskable.js
new file mode 100644
index 0000000..eb98d09
--- /dev/null
+++ b/node_modules/lodash/_isMaskable.js
@@ -0,0 +1,14 @@
+var coreJsData = require('./_coreJsData'),
+ isFunction = require('./isFunction'),
+ stubFalse = require('./stubFalse');
+
+/**
+ * Checks if `func` is capable of being masked.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
+ */
+var isMaskable = coreJsData ? isFunction : stubFalse;
+
+module.exports = isMaskable;