mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
fix: fix the jsdoc of SetCache#has (#4739)
The return type should be `boolean` instead of `number`
This commit is contained in:
@@ -40,7 +40,7 @@ class SetCache {
|
||||
*
|
||||
* @memberOf SetCache
|
||||
* @param {*} value The value to search for.
|
||||
* @returns {number} Returns `true` if `value` is found, else `false`.
|
||||
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
||||
*/
|
||||
has(value) {
|
||||
return this.__data__.has(value)
|
||||
|
||||
Reference in New Issue
Block a user