Methods
add
-
Parameters
clear
-
Returns void
each
- each(func: function): void
-
Parameters
-
func: function
-
- (value: string, valueRepeat: string, set: Set): void
-
Parameters
-
value: string
-
valueRepeat: string
-
Returns void
Returns void
empty
-
Returns boolean
has
-
Parameters
Returns boolean
remove
-
Parameters
Returns boolean
size
-
Returns number
values
-
Returns Array<string>
The first and second parameter of the function are both passed the 'value' of the set entry for consistency with map.each(...) signature