Filter items in the iterator such that no two items are the same.
import { pipe } from "yta";import { of, toArray, unique } from "yta/sync";pipe( of(1, 2, 2, 3, 4, 5, 4), unique(), toArray(),);// => [1, 2, 3, 4, 5] Copy
import { pipe } from "yta";import { of, toArray, unique } from "yta/sync";pipe( of(1, 2, 2, 3, 4, 5, 4), unique(), toArray(),);// => [1, 2, 3, 4, 5]
The item type
1.1.0
Filter items in the iterator such that no two items are the same.