Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Set.prototype.has()

2 tags 1 category

The has() method of Set instances returns a boolean indicating whether the specified value exists in this Set or not.

Return value: Returns true if the specified value exists in the Set object; otherwise false.

Parameters: value The value to test for presence in the Set object.

value The value to test for presence in the Set object.

Returns true if the specified value exists in the Set object; otherwise false.

Syntax example: has(value)

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…