_isMaskable.js 393 B

1234567891011121314
  1. import coreJsData from './_coreJsData.js';
  2. import isFunction from './isFunction.js';
  3. import stubFalse from './stubFalse.js';
  4. /**
  5. * Checks if `func` is capable of being masked.
  6. *
  7. * @private
  8. * @param {*} value The value to check.
  9. * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
  10. */
  11. var isMaskable = coreJsData ? isFunction : stubFalse;
  12. export default isMaskable;