您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_setCacheHas.js 316B

1234567891011121314
  1. /**
  2. * Checks if `value` is in the array cache.
  3. *
  4. * @private
  5. * @name has
  6. * @memberOf SetCache
  7. * @param {*} value The value to search for.
  8. * @returns {number} Returns `true` if `value` is found, else `false`.
  9. */
  10. function setCacheHas(value) {
  11. return this.__data__.has(value);
  12. }
  13. module.exports = setCacheHas;