(input, filter, options)
| 596 | } |
| 597 | |
| 598 | export function exclude(input, filter, options) { |
| 599 | if (Array.isArray(filter)) { |
| 600 | const filterSet = new Set(filter); |
| 601 | return pick(input, key => !filterSet.has(key), options); |
| 602 | } |
| 603 | |
| 604 | return pick(input, (key, value) => !filter(key, value), options); |
| 605 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…