From 342924bcb2777e8ce0f168bd3c106b38808e80e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Wed, 21 Feb 2024 03:42:07 +0100 Subject: [PATCH] docs: mention that unique does not preserve order (#374) --- docs/array/unique.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/array/unique.mdx b/docs/array/unique.mdx index 093664ea..82b64fa5 100644 --- a/docs/array/unique.mdx +++ b/docs/array/unique.mdx @@ -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'