Remove the first element from the array that matches the specified predicate
Source array
predicate to match
Item or undefined when not found
Remove the first element from the array that matches the specified predicate