chore: Move minBy & maxBy to array utilities

This commit is contained in:
Sojin Park 2024-06-28 21:52:19 +09:00
parent 0c83f361c2
commit 73cd00ecb7
9 changed files with 4 additions and 2 deletions

View File

@ -59,6 +59,8 @@ function sidebar(): DefaultTheme.Sidebar {
{ text: 'intersection', link: '/reference/array/intersection' },
{ text: 'intersectionBy', link: '/reference/array/intersectionBy' },
{ text: 'intersectionWith', link: '/reference/array/intersectionWith' },
{ text: 'minBy', link: '/reference/array/minBy' },
{ text: 'maxBy', link: '/reference/array/maxBy' },
{ text: 'partition', link: '/reference/array/partition' },
{ text: 'sample', link: '/reference/array/sample' },
{ text: 'shuffle', link: '/reference/array/shuffle' },

View File

@ -10,6 +10,8 @@ export { groupBy } from './groupBy';
export { intersection } from './intersection';
export { intersectionBy } from './intersectionBy';
export { intersectionWith } from './intersectionWith';
export { maxBy } from './maxBy';
export { minBy } from './minBy';
export { partition } from './partition';
export { sample } from './sample';
export { shuffle } from './shuffle';

View File

@ -3,6 +3,4 @@ export { random } from './random';
export { randomInt } from './randomInt';
export { round } from './round';
export { sum } from './sum';
export { maxBy } from './maxBy';
export { minBy } from './minBy';
export { range } from './range';