without (Functional Programming) es-toolkit
Creates a function that removes specific values from an array. Use it with pipe.
Info
Usage
without removes every value from the piped array that is equal to one of values. It is lazy-capable inside pipe.
Parameters
valuesT[]required
The values to remove from the piped array.
Returns
A function that maps a readonly T[] to an array without values.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.