es-toolkit/docs/reference/array
Dongho Kim 6b4c9ad167
feat(intersection): Add intersection to compat layer (#706)
* feat(intersection): Add `intersection` to compat layer

* Update benchmarks/performance/intersection.bench.ts

* Update benchmarks/performance/intersection.bench.ts

* Update intersection.ts

* Update intersection.ts

* Update docs/ja/reference/array/intersection.md

* Update src/compat/array/intersection.spec.ts

* Update intersection.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-13 22:48:01 +09:00
..
at.md docs(at, pullAt): Note that at and pullAt supports negative indices 2024-08-31 14:41:12 +09:00
chunk.md docs: Add Sandpack in docs (#363) 2024-08-10 10:15:48 +09:00
compact.md fix(compact): Update NotFalsey to exclude 0n (#588) 2024-09-24 10:19:48 +09:00
countBy.md fix(countBy): Support nemeric and symbol keys in countBy (#433) 2024-08-28 23:20:44 +09:00
difference.md docs(difference): add Lodash Compatibility (#679) 2024-10-07 21:59:07 +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 fix(drop): support array-like args (#686) 2024-10-09 22:42:09 +09:00
dropWhile.md fix(drop): support array-like args (#686) 2024-10-09 22:42:09 +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
flatMapDeep.md feat(flatMapDeep): Add flatMapDeep (#464) 2024-09-04 10:01:01 +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 docs: fix import (#599) 2024-09-26 10:53:52 +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 feat(intersection): Add intersection to compat layer (#706) 2024-10-13 22:48:01 +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 docs: Add detail examples to docs in maxBy, minBy (#554) 2024-09-23 18:53:02 +09:00
minBy.md docs: Add detail examples to docs in maxBy, minBy (#554) 2024-09-23 18:53:02 +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
pullAt.md docs(at, pullAt): Note that at and pullAt supports negative indices 2024-08-31 14:41:12 +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 style: Fix ESLint errors 2024-08-31 14:45:20 +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