25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
395 B

3 년 전
  1. var coreJsData = require('./_coreJsData'),
  2. isFunction = require('./isFunction'),
  3. stubFalse = require('./stubFalse');
  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. module.exports = isMaskable;