.has()
BrandonDusch580 total contributions
Published Jun 16, 2022
Contribute to Docs
The .has()
method checks whether a value exists in a given Set
and returns either true
or false
.
Syntax
set.has(value);
The value
is of a valid data type.
Codebyte Example
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.