Returns an array with value(s) omitted. If value is not found, result will be a copy of input.
Value checking is completed via the provided comparer function.
By default checking whether a === b. To compare based on value, use the isEqualValueDefault comparer.
Returns an array with value(s) omitted. If value is not found, result will be a copy of input. Value checking is completed via the provided
comparer
function. By default checking whethera === b
. To compare based on value, use theisEqualValueDefault
comparer.Example
Example: Using value-based comparison
Example: Use a function
Consider remove to remove an item by index.