es-toolkit/docs/reference/math
Jakub Sieczczyński e71f706461
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
feat(median): Add median and medianBy functions (#723)
* add median

* add medianBy

* fix lint errors

* fix lint error

* Remove .toSorted usage

* Add export

* Update src/math/median.ts

* Apply suggestions from code review

* Update median.md

* Update median.md

* Update medianBy.md

* Update medianBy.md

* Update medianBy.md

* Update median.md

* docs

* docs

* docs

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-21 00:03:57 +09:00
..
clamp.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
inRange.md feat: Add inRange (#124) 2024-07-05 10:08:25 +09:00
mean.md feat(mean): Add support for mean 2024-06-28 23:18:18 +09:00
meanBy.md feat(meanBy): add meanBy (#104) 2024-07-01 19:59:19 +09:00
median.md feat(median): Add median and medianBy functions (#723) 2024-10-21 00:03:57 +09:00
medianBy.md feat(median): Add median and medianBy functions (#723) 2024-10-21 00:03:57 +09:00
random.md feat(random, randomInt): Accept singular argument 2024-06-30 12:24:38 +09:00
randomInt.md feat(random, randomInt): Accept singular argument 2024-06-30 12:24:38 +09:00
range.md docs: Fix docs for range 2024-07-08 21:39:59 +09:00
rangeRight.md feat(rangeRight): implement rangeRight (#646) 2024-10-03 18:10:34 +09:00
round.md fix(round): Throw an exception when precision is not an integer (#79) 2024-06-20 11:05:33 +09:00
sum.md style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
sumBy.md feat(sumBy): add sumBy (#198) 2024-07-15 08:25:49 +09:00