1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 14:06:39 -05:00
notes/node_modules/lodash/_isMaskable.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

15 lines
395 B
JavaScript

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;