es-toolkit 1.10.1-dev.226 → 1.10.1-dev.227

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,4 +10,4 @@ function mean(nums) {
10
10
  export {
11
11
  mean
12
12
  };
13
- //# sourceMappingURL=chunk-GDC64SYJ.mjs.map
13
+ //# sourceMappingURL=chunk-5ASRKEB4.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/math/mean.ts"],"sourcesContent":["import { sum } from './sum.ts';\n\n/**\n * Calculates the average of an array of numbers.\n *\n * If the array is empty, this function returns `NaN`.\n *\n * @param {number[]} nums - An array of numbers to calculate the average.\n * @returns {number} The average of all the numbers in the array.\n *\n * @example\n * const numbers = [1, 2, 3, 4, 5];\n * const result = average(numbers);\n * // result will be 3\n */\nexport function mean(nums: readonly number[]): number {\n return sum(nums) / nums.length;\n}\n"],"mappings":";;;;;AAeO,SAAS,KAAK,MAAiC;AACpD,SAAO,IAAI,IAAI,IAAI,KAAK;AAC1B;","names":[]}
1
+ {"version":3,"sources":["../src/math/mean.ts"],"sourcesContent":["import { sum } from './sum.ts';\n\n/**\n * Calculates the average of an array of numbers.\n *\n * If the array is empty, this function returns `NaN`.\n *\n * @param {number[]} nums - An array of numbers to calculate the average.\n * @returns {number} The average of all the numbers in the array.\n *\n * @example\n * const numbers = [1, 2, 3, 4, 5];\n * const result = mean(numbers);\n * // result will be 3\n */\nexport function mean(nums: readonly number[]): number {\n return sum(nums) / nums.length;\n}\n"],"mappings":";;;;;AAeO,SAAS,KAAK,MAAiC;AACpD,SAAO,IAAI,IAAI,IAAI,KAAK;AAC1B;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mean
3
- } from "./chunk-GDC64SYJ.mjs";
3
+ } from "./chunk-5ASRKEB4.mjs";
4
4
 
5
5
  // src/math/meanBy.ts
6
6
  function meanBy(items, getValue) {
@@ -11,4 +11,4 @@ function meanBy(items, getValue) {
11
11
  export {
12
12
  meanBy
13
13
  };
14
- //# sourceMappingURL=chunk-IZAD2S7R.mjs.map
14
+ //# sourceMappingURL=chunk-MY4G7R3I.mjs.map