Skip to content

Commit

Permalink
docs: mention that unique does not preserve order (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo authored Feb 21, 2024
1 parent 241e6f8 commit 342924b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/array/unique.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ description: Remove duplicates from an array

Given an array of items -- and optionally, a function to determine their identity -- return a new array without any duplicates.

The function does not preserve the original order of items.

```ts
import { unique } from 'radash'

Expand Down

0 comments on commit 342924b

Please sign in to comment.