Content-Length: 251952 | pFad | http://github.com/lodash/lodash/commit/08110bdcf382468bb011672c346bbffde194cdb8

9A fix: fix the jsdoc of SetCache#has (#4739) · lodash/lodash@08110bd · GitHub
Skip to content

Commit 08110bd

Browse files
authored
fix: fix the jsdoc of SetCache#has (#4739)
The return type should be `boolean` instead of `number`
1 parent 0541ec8 commit 08110bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.internal/SetCache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SetCache {
4040
*
4141
* @memberOf SetCache
4242
* @param {*} value The value to search for.
43-
* @returns {number} Returns `true` if `value` is found, else `false`.
43+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
4444
*/
4545
has(value) {
4646
return this.__data__.has(value)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lodash/lodash/commit/08110bdcf382468bb011672c346bbffde194cdb8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy