UNPKG

type-plus

Version:
9 lines 240 B
/** * drop a particular value from an array. * * 💀 *deprecated* the type does not sufficiently cover the use cases. */ export function drop(array, value) { return array.filter(v => v !== value); } //# sourceMappingURL=drop.js.map