Returns a Stream that yields distinct elements from the source.
Type of items in the source.
Operation that yields distinct elements from the source.
const result = distinct()([1, 2, 1, 3, 2, 4]);console.log([...result]); // [1, 2, 3, 4] Copy
const result = distinct()([1, 2, 1, 3, 2, 4]);console.log([...result]); // [1, 2, 3, 4]
Returns a Stream that yields distinct elements from the source.