Copy If Integer-Object Map

Syntax

Copy If Integer-Object Map

Parameters

Map

Map of integer-object

Predicate

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

Output

NewMap

All pairs integer-object that returns true in predicate