Copy If Object-Integer Map

Syntax

Copy If Object-Integer Map

Parameters

Map

Map of object-integer

Predicate

Function that takes object and integer and returns boolean.
If function returns true pair object-integer would be copied to NewMap

Output

NewMap

All pairs object-integer that returns true in predicate