Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/lodash/_isMaskable.js

15 lines
395 B
JavaScript
Raw Normal View History

2024-01-10 16:11:49 +04:00
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;