mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
15 lines
395 B
JavaScript
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;
|