Replace If Integer

Syntax

Replace If Integer

Parameters

Array

Array of integers

New Value

Replacement value

Predicate

Function that takes integer and returns boolean.
If returns true this element will be replaced with New Value

Output

Result

Modified Array