JavaScript Set Checking if a value exist in a set

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


To check if a given value exists in a set, use .has() method:


Will return true if someVal appears in the set, false otherwise.

Got any JavaScript Question?