The function returns a NUMBER LIST in l that validate predicate.
Argument predicate is a boolean expression, where ^
is used for referencing numeric values in argument l.
filterByPredicate(number list l, boolean expression predicate) #Output: Number list