Copy If Object Array

Syntax

Copy If Object Array

Parameters

Array

Array of objects

Predicate

Function that takes object and returns boolean.
If function returns true object would be copied to NewArray

Output

NewArray

All object that returns true in predicate