mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +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
|
* @memberOf SetCache
|
||||||
* @param {*} value The value to search for.
|
* @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) {
|
has(value) {
|
||||||
return this.__data__.has(value)
|
return this.__data__.has(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user