setFilter

setFilter

> Functions

Returns a new set containing all the values from the source set set for which the callback function returned a value equivalent to true.

The callback function takes 1 to 2 parameters in this order: (value, source set).

Example:

Parameters
Return