es-toolkit/docs/reference/array
spookyuser 984a072ff4
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
docs: Add example showing how to use uniqBy with object arrays (#410)
* Add example showing how to use uniqBy with object arrays

* Add uniqBy example with objects to other docs

* Apply suggestions from code review

* Update src/array/uniqBy.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:23:16 +09:00
..
chunk.md docs: Add Sandpack in docs (#363) 2024-08-10 10:15:48 +09:00
compact.md docs(compact): Fix return type of compact 2024-06-28 23:23:59 +09:00
countBy.md fix(countBy): Support nemeric and symbol keys in countBy (#433) 2024-08-28 23:20:44 +09:00
difference.md style: Apply prettier 2024-08-11 10:54:13 +09:00
differenceBy.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
differenceWith.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
drop.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
dropRight.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
dropRightWhile.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
dropWhile.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
fill.md feat(fill): Improve fill to support negative indices (#222) 2024-07-18 20:59:13 +09:00
flatMap.md style: Apply prettier 2024-08-11 10:54:13 +09:00
flatten.md feat(flattenDeep): add flattenDeep function (#160) 2024-07-12 09:56:21 +09:00
flattenDeep.md feat(flattenDeep): add flattenDeep function (#160) 2024-07-12 09:56:21 +09:00
forEachRight.md style: Apply prettier 2024-08-11 10:54:13 +09:00
groupBy.md docs(groupBy, keyBy): Update type of key to PropertyKey (#100) 2024-06-30 15:49:13 +09:00
head.md docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
initial.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
intersection.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
intersectionBy.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
intersectionWith.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
isSubset.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
keyBy.md docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
last.md feat(last): Add last (#149) 2024-07-11 09:05:13 +09:00
maxBy.md feat(minBy, maxBy): Update docs for minBy & maxBy 2024-08-25 22:25:09 +09:00
minBy.md feat(minBy, maxBy): Update docs for minBy & maxBy 2024-08-25 22:25:09 +09:00
orderBy.md feat(orderBy, sortBy): support custom key functions in orderBy and integrate sortBy with orderBy (#407) 2024-08-22 23:28:27 +09:00
partition.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
sample.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
sampleSize.md docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
shuffle.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
sortBy.md refactor(sortBy, orderBy): use same compareValues function in internal and fix type (#382) 2024-08-15 20:58:26 +09:00
tail.md feat(tail): add tail function (#143) 2024-07-10 09:52:12 +09:00
take.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
takeRight.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
takeRightWhile.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
takeWhile.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
toFilled.md feat: add readonly type for toFilled (#327) 2024-07-31 22:01:30 +09:00
union.md 1.0.0 2024-05-31 16:54:41 +09:00
unionBy.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
unionWith.md 1.0.0 2024-05-31 16:54:41 +09:00
uniq.md docs: Add docs for uniqBy and uniqWith 2024-06-13 22:20:12 +09:00
uniqBy.md docs: Add example showing how to use uniqBy with object arrays (#410) 2024-08-28 23:23:16 +09:00
uniqWith.md docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
unzip.md docs: Fix typo in unzip 2024-07-10 09:59:43 +09:00
unzipWith.md style: Apply prettier 2024-08-11 10:54:13 +09:00
without.md feat(without): Add without function (#115) 2024-07-03 10:08:47 +09:00
xor.md 1.0.0 2024-05-31 16:54:41 +09:00
xorBy.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
xorWith.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
zip.md 1.0.0 2024-05-31 16:54:41 +09:00
zipObject.md feat(zipObject): Add zipObject function (#92) 2024-06-29 20:57:58 +09:00
zipWith.md 1.0.0 2024-05-31 16:54:41 +09:00