(isEquivalent: (self: A, that: A) => boolean)
| 2820 | * @since 3.2.0 |
| 2821 | */ |
| 2822 | export const differenceWith = <A>(isEquivalent: (self: A, that: A) => boolean): { |
| 2823 | (that: Chunk<A>): (self: Chunk<A>) => Chunk<A> |
| 2824 | (self: Chunk<A>, that: Chunk<A>): Chunk<A> |
| 2825 | } => { |
| 2826 | return dual( |
| 2827 | 2, |
| 2828 | (self: Chunk<A>, that: Chunk<A>): Chunk<A> => fromArrayUnsafe(RA.differenceWith(isEquivalent)(self, that)) |
| 2829 | ) |
| 2830 | } |
| 2831 | |
| 2832 | /** |
| 2833 | * Creates a `Chunk` of values not included in the other given `Chunk`. |
nothing calls this directly
no test coverage detected