- The opposite of
rejectisselect(returning a new array) - The opposite of
reject!isselect!(editing the array in place) - The opposite of
keep_ifisdelete_if(editing the array in place)
reject is select (returning a new array)reject! is select! (editing the array in place)keep_if is delete_if (editing the array in place)