(isEquivalent: (self: A, that: A) => boolean)
| 1471 | * @since 3.2.0 |
| 1472 | */ |
| 1473 | export const differenceWith = <A>(isEquivalent: (self: A, that: A) => boolean): { |
| 1474 | (that: Chunk<A>): (self: Chunk<A>) => Chunk<A> |
| 1475 | (self: Chunk<A>, that: Chunk<A>): Chunk<A> |
| 1476 | } => { |
| 1477 | return dual( |
| 1478 | 2, |
| 1479 | (self: Chunk<A>, that: Chunk<A>): Chunk<A> => unsafeFromArray(RA.differenceWith(isEquivalent)(that, self)) |
| 1480 | ) |
| 1481 | } |
| 1482 | |
| 1483 | /** |
| 1484 | * Creates a `Chunk` of values not included in the other given `Chunk`. |
nothing calls this directly
no test coverage detected