An object to keep track of an item with a certain numeric value based on the given predicate.
Items with a non-finite numeric value (e.g. NEGATIVE_INFINITY,POSITIVE_INFINITY, NaN, null, undefined),
determined by the given getValue function, are ignored.
An object to keep track of an item with a certain numeric value based on the given predicate.
Items with a non-finite numeric value (e.g.
NEGATIVE_INFINITY
,POSITIVE_INFINITY
,NaN
,null
,undefined
), determined by the givengetValue
function, are ignored.See
Example