blob: eb98d09f31377ac5467f7c6af6d7ab5423ed0b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
|