@bemoje/map 1.0.1 → 1.2.0

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.
Files changed (67) hide show
  1. package/lib/ExtMap.cjs +104 -0
  2. package/lib/ExtMap.d.cts +110 -0
  3. package/lib/ExtMap.d.ts +110 -0
  4. package/lib/ExtMap.js +101 -0
  5. package/lib/TimeoutWeakMap.cjs +120 -0
  6. package/lib/TimeoutWeakMap.d.cts +75 -0
  7. package/lib/TimeoutWeakMap.d.ts +75 -0
  8. package/lib/TimeoutWeakMap.js +118 -0
  9. package/lib/countUniques.cjs +18 -0
  10. package/lib/countUniques.d.cts +9 -0
  11. package/lib/countUniques.d.ts +9 -0
  12. package/lib/countUniques.js +15 -0
  13. package/lib/entriesArray.cjs +10 -0
  14. package/lib/entriesArray.d.cts +19 -0
  15. package/lib/entriesArray.d.ts +19 -0
  16. package/lib/entriesArray.js +8 -0
  17. package/lib/index.cjs +110 -0
  18. package/lib/index.d.cts +17 -0
  19. package/lib/index.d.ts +17 -0
  20. package/lib/index.js +15 -0
  21. package/lib/isGenericMap.cjs +16 -0
  22. package/lib/isGenericMap.d.cts +6 -0
  23. package/lib/isGenericMap.d.ts +6 -0
  24. package/lib/isGenericMap.js +14 -0
  25. package/lib/keysArray.cjs +10 -0
  26. package/lib/keysArray.d.cts +19 -0
  27. package/lib/keysArray.d.ts +19 -0
  28. package/lib/keysArray.js +8 -0
  29. package/lib/mapGetOrDefault.cjs +16 -0
  30. package/lib/mapGetOrDefault.d.cts +8 -0
  31. package/lib/mapGetOrDefault.d.ts +8 -0
  32. package/lib/mapGetOrDefault.js +14 -0
  33. package/lib/mapLoad.cjs +13 -0
  34. package/lib/mapLoad.d.cts +11 -0
  35. package/lib/mapLoad.d.ts +11 -0
  36. package/lib/mapLoad.js +11 -0
  37. package/lib/mapReverse.cjs +15 -0
  38. package/lib/mapReverse.d.cts +15 -0
  39. package/lib/mapReverse.d.ts +15 -0
  40. package/lib/mapReverse.js +12 -0
  41. package/lib/mapUpdate.cjs +12 -0
  42. package/lib/mapUpdate.d.cts +13 -0
  43. package/lib/mapUpdate.d.ts +13 -0
  44. package/lib/mapUpdate.js +10 -0
  45. package/lib/sort.cjs +15 -0
  46. package/lib/sort.d.cts +25 -0
  47. package/lib/sort.d.ts +25 -0
  48. package/lib/sort.js +13 -0
  49. package/lib/sortByKeys.cjs +17 -0
  50. package/lib/sortByKeys.d.cts +24 -0
  51. package/lib/sortByKeys.d.ts +24 -0
  52. package/lib/sortByKeys.js +15 -0
  53. package/lib/sortByValues.cjs +17 -0
  54. package/lib/sortByValues.d.cts +25 -0
  55. package/lib/sortByValues.d.ts +25 -0
  56. package/lib/sortByValues.js +15 -0
  57. package/lib/toMap.cjs +10 -0
  58. package/lib/toMap.d.cts +20 -0
  59. package/lib/toMap.d.ts +20 -0
  60. package/lib/toMap.js +8 -0
  61. package/lib/valuesArray.cjs +10 -0
  62. package/lib/valuesArray.d.cts +19 -0
  63. package/lib/valuesArray.d.ts +19 -0
  64. package/lib/valuesArray.js +8 -0
  65. package/package.json +248 -18
  66. package/index.d.ts +0 -364
  67. package/index.mjs +0 -475
@@ -0,0 +1,11 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Loads multiple entries into the map from an iterable.
5
+ *
6
+ * @param entries - An iterable of key-value pairs to load into the map
7
+ * @returns The map instance for method chaining
8
+ */
9
+ declare function mapLoad<T extends GenericMap<K, V, 'set'>, K, V>(ins: T, entries: Iterable<[K, V]>): T;
10
+
11
+ export { mapLoad };
package/lib/mapLoad.js ADDED
@@ -0,0 +1,11 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function mapLoad(ins, entries) {
4
+ for (const [key, value] of entries) {
5
+ ins.set(key, value);
6
+ }
7
+ return ins;
8
+ }
9
+ __name(mapLoad, "mapLoad");
10
+
11
+ export { mapLoad };
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var mapLoad = require('./mapLoad');
4
+
5
+ var __defProp = Object.defineProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ function mapReverse(ins) {
8
+ const entries = Array.from(ins).reverse();
9
+ ins.clear();
10
+ mapLoad.mapLoad(ins, entries);
11
+ return ins;
12
+ }
13
+ __name(mapReverse, "mapReverse");
14
+
15
+ exports.mapReverse = mapReverse;
@@ -0,0 +1,15 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Reverses the order of entries in a Map.
5
+ * @remarks This function creates a new Map with the entries of the original Map in reverse order.
6
+ * The original Map is not modified.
7
+ * @example ```ts
8
+ * mapReverse(new Map([['a', 1], ['b', 2], ['c', 3]]));
9
+ * //=> [['c', 3], ['b', 2], ['a', 1]]
10
+ * ```
11
+ */
12
+ declare function mapReverse<T extends GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, K, V>(ins: T): T;
13
+ declare function mapReverse<K, V>(ins: Map<K, V>): Map<K, V>;
14
+
15
+ export { mapReverse };
@@ -0,0 +1,15 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Reverses the order of entries in a Map.
5
+ * @remarks This function creates a new Map with the entries of the original Map in reverse order.
6
+ * The original Map is not modified.
7
+ * @example ```ts
8
+ * mapReverse(new Map([['a', 1], ['b', 2], ['c', 3]]));
9
+ * //=> [['c', 3], ['b', 2], ['a', 1]]
10
+ * ```
11
+ */
12
+ declare function mapReverse<T extends GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, K, V>(ins: T): T;
13
+ declare function mapReverse<K, V>(ins: Map<K, V>): Map<K, V>;
14
+
15
+ export { mapReverse };
@@ -0,0 +1,12 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+ import { mapLoad } from './mapLoad';
3
+
4
+ function mapReverse(ins) {
5
+ const entries = Array.from(ins).reverse();
6
+ ins.clear();
7
+ mapLoad(ins, entries);
8
+ return ins;
9
+ }
10
+ __name(mapReverse, "mapReverse");
11
+
12
+ export { mapReverse };
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function mapUpdate(ins, key, update) {
6
+ const newValue = update(ins.get(key), key, ins);
7
+ ins.set(key, newValue);
8
+ return ins;
9
+ }
10
+ __name(mapUpdate, "mapUpdate");
11
+
12
+ exports.mapUpdate = mapUpdate;
@@ -0,0 +1,13 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Updates a value in the map using an update function.
5
+ *
6
+ * @param key - The key to update
7
+ * @param update - Function that receives the current value and returns the new value
8
+ * @returns The map instance for method chaining
9
+ */
10
+ declare function mapUpdate<T extends GenericMap<K, V, 'set' | 'get'>, K, V>(ins: T, key: K, update: (value: V | undefined, key: K, map: T) => V): T;
11
+ declare function mapUpdate<K, V>(ins: Map<K, V>, key: K, update: (value: V | undefined, key: K, map: Map<K, V>) => V): typeof ins;
12
+
13
+ export { mapUpdate };
@@ -0,0 +1,13 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Updates a value in the map using an update function.
5
+ *
6
+ * @param key - The key to update
7
+ * @param update - Function that receives the current value and returns the new value
8
+ * @returns The map instance for method chaining
9
+ */
10
+ declare function mapUpdate<T extends GenericMap<K, V, 'set' | 'get'>, K, V>(ins: T, key: K, update: (value: V | undefined, key: K, map: T) => V): T;
11
+ declare function mapUpdate<K, V>(ins: Map<K, V>, key: K, update: (value: V | undefined, key: K, map: Map<K, V>) => V): typeof ins;
12
+
13
+ export { mapUpdate };
@@ -0,0 +1,10 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function mapUpdate(ins, key, update) {
4
+ const newValue = update(ins.get(key), key, ins);
5
+ ins.set(key, newValue);
6
+ return ins;
7
+ }
8
+ __name(mapUpdate, "mapUpdate");
9
+
10
+ export { mapUpdate };
package/lib/sort.cjs ADDED
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function sort(ins, compare) {
6
+ const entries = Array.from(ins).sort(compare);
7
+ ins.clear();
8
+ for (const [k, v] of entries) {
9
+ ins.set(k, v);
10
+ }
11
+ return ins;
12
+ }
13
+ __name(sort, "sort");
14
+
15
+ exports.sort = sort;
package/lib/sort.d.cts ADDED
@@ -0,0 +1,25 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Sorts the map entries using a custom comparison function and updates the map in place.
5
+ * This is Map-specific because it maintains insertion order.
6
+ *
7
+ * @param ins - The map instance to sort
8
+ * @param compare - Function that compares two entries
9
+ * @returns The map instance for method chaining
10
+ *
11
+ * @example
12
+ * ```typescript
13
+ * const map = new ExtMap<string, number>([
14
+ * ['c', 3],
15
+ * ['a', 1],
16
+ * ['b', 2],
17
+ * ])
18
+ *
19
+ * sort(map, ([k1], [k2]) => k1.localeCompare(k2))
20
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
21
+ * ```
22
+ */
23
+ declare function sort<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: [K, V], b: [K, V]) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
24
+
25
+ export { sort };
package/lib/sort.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Sorts the map entries using a custom comparison function and updates the map in place.
5
+ * This is Map-specific because it maintains insertion order.
6
+ *
7
+ * @param ins - The map instance to sort
8
+ * @param compare - Function that compares two entries
9
+ * @returns The map instance for method chaining
10
+ *
11
+ * @example
12
+ * ```typescript
13
+ * const map = new ExtMap<string, number>([
14
+ * ['c', 3],
15
+ * ['a', 1],
16
+ * ['b', 2],
17
+ * ])
18
+ *
19
+ * sort(map, ([k1], [k2]) => k1.localeCompare(k2))
20
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
21
+ * ```
22
+ */
23
+ declare function sort<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: [K, V], b: [K, V]) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
24
+
25
+ export { sort };
package/lib/sort.js ADDED
@@ -0,0 +1,13 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function sort(ins, compare) {
4
+ const entries = Array.from(ins).sort(compare);
5
+ ins.clear();
6
+ for (const [k, v] of entries) {
7
+ ins.set(k, v);
8
+ }
9
+ return ins;
10
+ }
11
+ __name(sort, "sort");
12
+
13
+ export { sort };
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function sortByKeys(ins, compare) {
6
+ const entries = Array.from(ins).sort((a, b) => {
7
+ return compare(a[0], b[0]);
8
+ });
9
+ ins.clear();
10
+ for (const [k, v] of entries) {
11
+ ins.set(k, v);
12
+ }
13
+ return ins;
14
+ }
15
+ __name(sortByKeys, "sortByKeys");
16
+
17
+ exports.sortByKeys = sortByKeys;
@@ -0,0 +1,24 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Sorts the map entries by their keys and updates the map in place.
5
+ *
6
+ * @param ins - The map instance to sort
7
+ * @param compare - Function that compares two keys
8
+ * @returns The map instance for method chaining
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const map = new ExtMap<string, number>([
13
+ * ['c', 3],
14
+ * ['a', 1],
15
+ * ['b', 2],
16
+ * ])
17
+ *
18
+ * sortByKeys(map, (a, b) => a.localeCompare(b))
19
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
20
+ * ```
21
+ */
22
+ declare function sortByKeys<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: K, b: K) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
23
+
24
+ export { sortByKeys };
@@ -0,0 +1,24 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Sorts the map entries by their keys and updates the map in place.
5
+ *
6
+ * @param ins - The map instance to sort
7
+ * @param compare - Function that compares two keys
8
+ * @returns The map instance for method chaining
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const map = new ExtMap<string, number>([
13
+ * ['c', 3],
14
+ * ['a', 1],
15
+ * ['b', 2],
16
+ * ])
17
+ *
18
+ * sortByKeys(map, (a, b) => a.localeCompare(b))
19
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
20
+ * ```
21
+ */
22
+ declare function sortByKeys<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: K, b: K) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
23
+
24
+ export { sortByKeys };
@@ -0,0 +1,15 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function sortByKeys(ins, compare) {
4
+ const entries = Array.from(ins).sort((a, b) => {
5
+ return compare(a[0], b[0]);
6
+ });
7
+ ins.clear();
8
+ for (const [k, v] of entries) {
9
+ ins.set(k, v);
10
+ }
11
+ return ins;
12
+ }
13
+ __name(sortByKeys, "sortByKeys");
14
+
15
+ export { sortByKeys };
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function sortByValues(ins, compare) {
6
+ const entries = Array.from(ins).sort((a, b) => {
7
+ return compare(a[1], b[1]);
8
+ });
9
+ ins.clear();
10
+ for (const [k, v] of entries) {
11
+ ins.set(k, v);
12
+ }
13
+ return ins;
14
+ }
15
+ __name(sortByValues, "sortByValues");
16
+
17
+ exports.sortByValues = sortByValues;
@@ -0,0 +1,25 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Sorts the map entries by their values and updates the map in place.
5
+ *
6
+ * @param ins - The map instance to sort
7
+ * @param compare - Function that compares two values
8
+ * @returns The map instance for method chaining
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const map = new ExtMap<string, number>([
13
+ * ['c', 3],
14
+ * ['a', 1],
15
+ * ['b', 2],
16
+ * ])
17
+ *
18
+ * sortByValues(map, (a, b) => a - b)
19
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
20
+ * ```
21
+ */
22
+ declare function sortByValues<T extends GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, K, V>(ins: T, compare: (a: V, b: V) => number): T;
23
+ declare function sortByValues<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: V, b: V) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
24
+
25
+ export { sortByValues };
@@ -0,0 +1,25 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Sorts the map entries by their values and updates the map in place.
5
+ *
6
+ * @param ins - The map instance to sort
7
+ * @param compare - Function that compares two values
8
+ * @returns The map instance for method chaining
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const map = new ExtMap<string, number>([
13
+ * ['c', 3],
14
+ * ['a', 1],
15
+ * ['b', 2],
16
+ * ])
17
+ *
18
+ * sortByValues(map, (a, b) => a - b)
19
+ * console.log(entriesArray(map)) // [['a', 1], ['b', 2], ['c', 3]]
20
+ * ```
21
+ */
22
+ declare function sortByValues<T extends GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, K, V>(ins: T, compare: (a: V, b: V) => number): T;
23
+ declare function sortByValues<K, V>(ins: GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>, compare: (a: V, b: V) => number): GenericMap<K, V, 'set' | 'clear' | typeof Symbol.iterator>;
24
+
25
+ export { sortByValues };
@@ -0,0 +1,15 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function sortByValues(ins, compare) {
4
+ const entries = Array.from(ins).sort((a, b) => {
5
+ return compare(a[1], b[1]);
6
+ });
7
+ ins.clear();
8
+ for (const [k, v] of entries) {
9
+ ins.set(k, v);
10
+ }
11
+ return ins;
12
+ }
13
+ __name(sortByValues, "sortByValues");
14
+
15
+ export { sortByValues };
package/lib/toMap.cjs ADDED
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function toMap(ins) {
6
+ return new Map(ins);
7
+ }
8
+ __name(toMap, "toMap");
9
+
10
+ exports.toMap = toMap;
@@ -0,0 +1,20 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Converts a GenericMap to a native Map.
5
+ *
6
+ * @param ins - The GenericMap instance to convert
7
+ * @returns A new native Map with the same entries
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * const extMap = new ExtMap<string, number>()
12
+ * .load([['a', 1], ['b', 2], ['c', 3]])
13
+ *
14
+ * const nativeMap = toMap(extMap)
15
+ * console.log(nativeMap instanceof Map) // true
16
+ * ```
17
+ */
18
+ declare function toMap<K, V>(ins: GenericMap<K, V, typeof Symbol.iterator>): Map<K, V>;
19
+
20
+ export { toMap };
package/lib/toMap.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Converts a GenericMap to a native Map.
5
+ *
6
+ * @param ins - The GenericMap instance to convert
7
+ * @returns A new native Map with the same entries
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * const extMap = new ExtMap<string, number>()
12
+ * .load([['a', 1], ['b', 2], ['c', 3]])
13
+ *
14
+ * const nativeMap = toMap(extMap)
15
+ * console.log(nativeMap instanceof Map) // true
16
+ * ```
17
+ */
18
+ declare function toMap<K, V>(ins: GenericMap<K, V, typeof Symbol.iterator>): Map<K, V>;
19
+
20
+ export { toMap };
package/lib/toMap.js ADDED
@@ -0,0 +1,8 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function toMap(ins) {
4
+ return new Map(ins);
5
+ }
6
+ __name(toMap, "toMap");
7
+
8
+ export { toMap };
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function valuesArray(ins) {
6
+ return Array.from(ins.values());
7
+ }
8
+ __name(valuesArray, "valuesArray");
9
+
10
+ exports.valuesArray = valuesArray;
@@ -0,0 +1,19 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.cjs';
2
+
3
+ /**
4
+ * Returns an array of all values in the map.
5
+ * Convenience method that converts the values iterator to an array.
6
+ *
7
+ * @returns Array of all values
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * const map = new ExtMap<string, number>()
12
+ * .load([['a', 1], ['b', 2], ['c', 3]])
13
+ *
14
+ * console.log(valuesArray(map)) // [1, 2, 3]
15
+ * ```
16
+ */
17
+ declare function valuesArray<K, V>(ins: GenericMap<K, V, 'values'>): V[];
18
+
19
+ export { valuesArray };
@@ -0,0 +1,19 @@
1
+ import { G as GenericMap } from './GenericMap-B4OM3vGu.js';
2
+
3
+ /**
4
+ * Returns an array of all values in the map.
5
+ * Convenience method that converts the values iterator to an array.
6
+ *
7
+ * @returns Array of all values
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * const map = new ExtMap<string, number>()
12
+ * .load([['a', 1], ['b', 2], ['c', 3]])
13
+ *
14
+ * console.log(valuesArray(map)) // [1, 2, 3]
15
+ * ```
16
+ */
17
+ declare function valuesArray<K, V>(ins: GenericMap<K, V, 'values'>): V[];
18
+
19
+ export { valuesArray };
@@ -0,0 +1,8 @@
1
+ import { __name } from './chunk-SHUYVCID.js';
2
+
3
+ function valuesArray(ins) {
4
+ return Array.from(ins.values());
5
+ }
6
+ __name(valuesArray, "valuesArray");
7
+
8
+ export { valuesArray };