.has()
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.
The .has()
method checks whether a value exists in a given Set
and returns either true
or false
.
set.has(value);
The value
is of a valid data type.