Function rejectValues

Filters the values in the source array that are not included in the values array.

const source = [1, 2, 3];
const values = [2, 3];
rejectValues(values)(source) // [1]