Search Docs
remove
Remove specified values from an arr array, and return a new array with the specified values removed.
values
arr
import { remove } from 'funtool'; remove([1, 2, 3], [2]); // ✅ [1, 3] remove(['a', 'b', 'c'], ['b', 'c']); // ✅ ['a']
function remove<T>(arr: T[], values: T[]): T[]
T[]