Copy If Integer-Boolean Map

Syntax

Copy If Integer-Boolean Map

Parameters

Map

Map of integer-boolean

Predicate

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

Output

NewMap

All pairs integer-boolean that returns true in predicate