@tempots/std 0.12.0 → 0.13.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.
- package/array.d.ts +0 -32
- package/function.cjs +1 -1
- package/function.d.ts +0 -17
- package/function.js +10 -25
- package/index.cjs +1 -1
- package/index.js +150 -156
- package/number.cjs +1 -1
- package/number.d.ts +23 -2
- package/number.js +31 -32
- package/package.json +1 -1
- package/string.cjs +4 -4
- package/string.d.ts +305 -76
- package/string.js +175 -185
package/array.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import { Compare, Maybe, Nothing, Primitive } from './domain';
|
|
|
8
8
|
* @param arr - The input array.
|
|
9
9
|
* @param f - The function to apply to each element.
|
|
10
10
|
* @returns The new array with the results of applying the function to each element.
|
|
11
|
-
* @category manipulation
|
|
12
11
|
* @public
|
|
13
12
|
*/
|
|
14
13
|
export declare function mapArray<A, B>(arr: A[], f: (a: A, index: number) => B): B[];
|
|
@@ -20,7 +19,6 @@ export declare function mapArray<A, B>(arr: A[], f: (a: A, index: number) => B):
|
|
|
20
19
|
* @returns A new array with the flattened result of applying the mapping function to each element of the input array.
|
|
21
20
|
* @typeParam A - The type of the elements in the input array.
|
|
22
21
|
* @typeParam B - The type of the elements in the resulting flattened array.
|
|
23
|
-
* @category manipulation
|
|
24
22
|
* @public
|
|
25
23
|
*/
|
|
26
24
|
export declare function flatMapArray<A, B>(arr: A[], f: (a: A) => B[]): B[];
|
|
@@ -30,7 +28,6 @@ export declare function flatMapArray<A, B>(arr: A[], f: (a: A) => B[]): B[];
|
|
|
30
28
|
* @param arr - The input array.
|
|
31
29
|
* @returns The first element of the array, or `undefined` if the array is empty.
|
|
32
30
|
* @typeParam A - The type of elements in the array.
|
|
33
|
-
* @category access
|
|
34
31
|
* @public
|
|
35
32
|
*/
|
|
36
33
|
export declare function arrayHead<A>(arr: A[]): Maybe<A>;
|
|
@@ -39,7 +36,6 @@ export declare function arrayHead<A>(arr: A[]): Maybe<A>;
|
|
|
39
36
|
*
|
|
40
37
|
* @param arr - The input array.
|
|
41
38
|
* @returns A new array containing all elements of the input array except for the first element.
|
|
42
|
-
* @category access
|
|
43
39
|
* @public
|
|
44
40
|
*/
|
|
45
41
|
export declare function arrayTail<A>(arr: A[]): A[];
|
|
@@ -51,7 +47,6 @@ export declare function arrayTail<A>(arr: A[]): A[];
|
|
|
51
47
|
* @param b - The second array.
|
|
52
48
|
* @param equality - The custom equality function to compare elements.
|
|
53
49
|
* @returns Returns `true` if the arrays are equal, `false` otherwise.
|
|
54
|
-
* @category comparison
|
|
55
50
|
* @public
|
|
56
51
|
*/
|
|
57
52
|
export declare function areArraysEqual<T>(a: T[], b: T[], equality: (a: T, b: T) => boolean): boolean;
|
|
@@ -60,7 +55,6 @@ export declare function areArraysEqual<T>(a: T[], b: T[], equality: (a: T, b: T)
|
|
|
60
55
|
*
|
|
61
56
|
* @param arr - The array to check.
|
|
62
57
|
* @returns `true` if the array is empty, `false` otherwise.
|
|
63
|
-
* @category query
|
|
64
58
|
* @public
|
|
65
59
|
*/
|
|
66
60
|
export declare function isArrayEmpty<T>(arr: T[]): arr is [];
|
|
@@ -69,7 +63,6 @@ export declare function isArrayEmpty<T>(arr: T[]): arr is [];
|
|
|
69
63
|
*
|
|
70
64
|
* @param arr - The array to check.
|
|
71
65
|
* @returns `true` if the array has values, `false` otherwise.
|
|
72
|
-
* @category query
|
|
73
66
|
* @public
|
|
74
67
|
*/
|
|
75
68
|
export declare function arrayHasValues<T>(arr: T[]): arr is [T, ...T[]];
|
|
@@ -80,7 +73,6 @@ export declare function arrayHasValues<T>(arr: T[]): arr is [T, ...T[]];
|
|
|
80
73
|
* @param arr - The array to filter.
|
|
81
74
|
* @param predicate - The predicate function used to filter the elements.
|
|
82
75
|
* @returns The filtered array.
|
|
83
|
-
* @category manipulation
|
|
84
76
|
* @public
|
|
85
77
|
*/
|
|
86
78
|
export declare function filterArray<T>(arr: T[], predicate: (v: T) => boolean): T[];
|
|
@@ -93,7 +85,6 @@ export declare function filterArray<T>(arr: T[], predicate: (v: T) => boolean):
|
|
|
93
85
|
* @param arr - The input array.
|
|
94
86
|
* @param f - The mapping function to apply to each element.
|
|
95
87
|
* @returns The new array containing the mapped values.
|
|
96
|
-
* @category manipulation
|
|
97
88
|
* @public
|
|
98
89
|
*/
|
|
99
90
|
export declare function filterMapArray<A, B>(arr: A[], f: (a: A, index: number) => Maybe<B>): B[];
|
|
@@ -103,7 +94,6 @@ export declare function filterMapArray<A, B>(arr: A[], f: (a: A, index: number)
|
|
|
103
94
|
* @typeParam T - The type of elements in the array.
|
|
104
95
|
* @param arr - The array to filter.
|
|
105
96
|
* @returns The filtered array.
|
|
106
|
-
* @category manipulation
|
|
107
97
|
* @public
|
|
108
98
|
*/
|
|
109
99
|
export declare function filterNullsFromArray<T>(arr: Array<T | Nothing>): T[];
|
|
@@ -113,7 +103,6 @@ export declare function filterNullsFromArray<T>(arr: Array<T | Nothing>): T[];
|
|
|
113
103
|
* @param arr - The two-dimensional array to flatten.
|
|
114
104
|
* @returns The flattened one-dimensional array.
|
|
115
105
|
* @typeParam T - The type of elements in the array.
|
|
116
|
-
* @category manipulation
|
|
117
106
|
* @public
|
|
118
107
|
*/
|
|
119
108
|
export declare function flattenArray<T>(arr: T[][]): T[];
|
|
@@ -126,7 +115,6 @@ export declare function flattenArray<T>(arr: T[][]): T[];
|
|
|
126
115
|
* @param f - The function to apply to each element.
|
|
127
116
|
* @param b - The initial value of the accumulator.
|
|
128
117
|
* @returns The accumulated result.
|
|
129
|
-
* @category manipulation
|
|
130
118
|
* @public
|
|
131
119
|
*/
|
|
132
120
|
export declare function foldLeftArray<T, B>(arr: T[], f: (acc: B, curr: T) => B, b: B): B;
|
|
@@ -137,7 +125,6 @@ export declare function foldLeftArray<T, B>(arr: T[], f: (acc: B, curr: T) => B,
|
|
|
137
125
|
* @param predicate - The predicate function to apply to each element.
|
|
138
126
|
* @returns `true` if all elements satisfy the predicate, `false` otherwise.
|
|
139
127
|
* @typeParam T - The type of elements in the array.
|
|
140
|
-
* @category query
|
|
141
128
|
* @public
|
|
142
129
|
*/
|
|
143
130
|
export declare function allElements<T>(arr: T[], predicate: (v: T) => boolean): boolean;
|
|
@@ -148,7 +135,6 @@ export declare function allElements<T>(arr: T[], predicate: (v: T) => boolean):
|
|
|
148
135
|
* @param predicate - The predicate function to apply to each element.
|
|
149
136
|
* @returns `true` if any element satisfies the predicate, `false` otherwise.
|
|
150
137
|
* @typeParam T - The type of elements in the array.
|
|
151
|
-
* @category query
|
|
152
138
|
* @public
|
|
153
139
|
*/
|
|
154
140
|
export declare function anyElement<T>(arr: T[], predicate: (v: T) => boolean): boolean;
|
|
@@ -158,7 +144,6 @@ export declare function anyElement<T>(arr: T[], predicate: (v: T) => boolean): b
|
|
|
158
144
|
* @typeParam T - The type of elements in the array.
|
|
159
145
|
* @param arr - The array to iterate over.
|
|
160
146
|
* @param f - The function to apply to each element.
|
|
161
|
-
* @category effect
|
|
162
147
|
* @public
|
|
163
148
|
*/
|
|
164
149
|
export declare function forEachElement<T>(arr: T[], f: (v: T) => void): void;
|
|
@@ -168,7 +153,6 @@ export declare function forEachElement<T>(arr: T[], f: (v: T) => void): void;
|
|
|
168
153
|
* @param arrs - The arrays to concatenate.
|
|
169
154
|
* @returns The concatenated array.
|
|
170
155
|
* @typeParam A - The type of elements in the arrays.
|
|
171
|
-
* @category manipulation
|
|
172
156
|
* @public
|
|
173
157
|
*/
|
|
174
158
|
export declare function concatArrays<A>(...arrs: A[][]): A[];
|
|
@@ -181,7 +165,6 @@ export declare function concatArrays<A>(...arrs: A[][]): A[];
|
|
|
181
165
|
* @param comparef - The compare function to use for comparing the elements of the arrays.
|
|
182
166
|
* @param shorterFirst - Optional. Specifies whether shorter arrays should be considered smaller. Defaults to true.
|
|
183
167
|
* @returns A compare function that can be used to compare arrays.
|
|
184
|
-
* @category comparison
|
|
185
168
|
* @public
|
|
186
169
|
*/
|
|
187
170
|
export declare function compareArrays<A>(a: A[], b: A[], comparef: Compare<A>, shorterFirst?: boolean): number;
|
|
@@ -192,7 +175,6 @@ export declare function compareArrays<A>(a: A[], b: A[], comparef: Compare<A>, s
|
|
|
192
175
|
* @param arr - The array to be sorted.
|
|
193
176
|
* @param compare - The compare function used to determine the order of the elements.
|
|
194
177
|
* @returns The sorted array.
|
|
195
|
-
* @category manipulation
|
|
196
178
|
* @public
|
|
197
179
|
*/
|
|
198
180
|
export declare function sortArray<A>(arr: A[], compare: Compare<A>): A[];
|
|
@@ -202,7 +184,6 @@ export declare function sortArray<A>(arr: A[], compare: Compare<A>): A[];
|
|
|
202
184
|
* @param length - The length of the resulting array.
|
|
203
185
|
* @param f - The function to apply to each index. It takes the index as a parameter and returns the corresponding value.
|
|
204
186
|
* @returns An array of values generated by applying the function to each index.
|
|
205
|
-
* @category creation
|
|
206
187
|
* @public
|
|
207
188
|
*/
|
|
208
189
|
export declare function generateArray<A>(length: number, f: (index: number) => A): A[];
|
|
@@ -212,7 +193,6 @@ export declare function generateArray<A>(length: number, f: (index: number) => A
|
|
|
212
193
|
* @param length - The length of the array to generate.
|
|
213
194
|
* @param startAt - The starting value of the range. Default is 0.
|
|
214
195
|
* @returns An array of numbers in the specified range.
|
|
215
|
-
* @category creation
|
|
216
196
|
* @public
|
|
217
197
|
*/
|
|
218
198
|
export declare function generateSequenceArray(length: number, startAt?: number): number[];
|
|
@@ -223,7 +203,6 @@ export declare function generateSequenceArray(length: number, startAt?: number):
|
|
|
223
203
|
* @param length - The length of the new array.
|
|
224
204
|
* @param value - The value to fill the array with.
|
|
225
205
|
* @returns A new array filled with the specified value.
|
|
226
|
-
* @category creation
|
|
227
206
|
* @public
|
|
228
207
|
*/
|
|
229
208
|
export declare function createFilledArray<A>(length: number, value: A): A[];
|
|
@@ -233,7 +212,6 @@ export declare function createFilledArray<A>(length: number, value: A): A[];
|
|
|
233
212
|
* @typeParam T - The type of the input array elements.
|
|
234
213
|
* @param values - The input array.
|
|
235
214
|
* @returns An array containing only the distinct primitive values from the input array.
|
|
236
|
-
* @category manipulation
|
|
237
215
|
* @public
|
|
238
216
|
*/
|
|
239
217
|
export declare function uniquePrimitives<T extends Primitive>(values: T[]): T[];
|
|
@@ -244,7 +222,6 @@ export declare function uniquePrimitives<T extends Primitive>(values: T[]): T[];
|
|
|
244
222
|
* @param values - The input array.
|
|
245
223
|
* @param predicate - The predicate function used to determine uniqueness.
|
|
246
224
|
* @returns An array of distinct elements.
|
|
247
|
-
* @category manipulation
|
|
248
225
|
* @public
|
|
249
226
|
*/
|
|
250
227
|
export declare function uniqueByPredicate<T>(values: T[], predicate: (a: T) => string): T[];
|
|
@@ -255,7 +232,6 @@ export declare function uniqueByPredicate<T>(values: T[], predicate: (a: T) => s
|
|
|
255
232
|
* @param arr - The array from which to remove the item.
|
|
256
233
|
* @param item - The item to remove from the array.
|
|
257
234
|
* @returns `true` if the item was found and removed, `false` otherwise.
|
|
258
|
-
* @category mutation
|
|
259
235
|
* @public
|
|
260
236
|
*/
|
|
261
237
|
export declare function removeOneFromArray<A>(arr: A[], item: A): boolean;
|
|
@@ -266,7 +242,6 @@ export declare function removeOneFromArray<A>(arr: A[], item: A): boolean;
|
|
|
266
242
|
* @param arr - The array from which to remove the item.
|
|
267
243
|
* @param item - The item to remove from the array.
|
|
268
244
|
* @returns `true` if at least one occurrence was found and removed, `false` otherwise.
|
|
269
|
-
* @category mutation
|
|
270
245
|
* @public
|
|
271
246
|
*/
|
|
272
247
|
export declare function removeAllFromArray<A>(arr: A[], item: A): boolean;
|
|
@@ -277,7 +252,6 @@ export declare function removeAllFromArray<A>(arr: A[], item: A): boolean;
|
|
|
277
252
|
* @param arr - The array from which elements will be removed.
|
|
278
253
|
* @param predicate - The predicate function used to determine which elements to remove.
|
|
279
254
|
* @returns `true` if at least one element was removed, `false` otherwise.
|
|
280
|
-
* @category mutation
|
|
281
255
|
* @public
|
|
282
256
|
*/
|
|
283
257
|
export declare function removeOneFromArrayByPredicate<A>(arr: A[], predicate: (a: A) => boolean): boolean;
|
|
@@ -288,7 +262,6 @@ export declare function removeOneFromArrayByPredicate<A>(arr: A[], predicate: (a
|
|
|
288
262
|
* @param arr - The array from which elements will be removed.
|
|
289
263
|
* @param predicate - The predicate function used to determine which elements to remove.
|
|
290
264
|
* @returns `true` if at least one element was removed, `false` otherwise.
|
|
291
|
-
* @category mutation
|
|
292
265
|
* @public
|
|
293
266
|
*/
|
|
294
267
|
export declare function removeAllFromArrayByPredicate<A>(arr: A[], predicate: (a: A) => boolean): boolean;
|
|
@@ -297,7 +270,6 @@ export declare function removeAllFromArrayByPredicate<A>(arr: A[], predicate: (a
|
|
|
297
270
|
*
|
|
298
271
|
* @param it - The IterableIterator to convert.
|
|
299
272
|
* @returns An array containing the values from the IterableIterator.
|
|
300
|
-
* @category creation
|
|
301
273
|
* @public
|
|
302
274
|
*/
|
|
303
275
|
export declare function arrayOfIterableIterator<A>(it: IterableIterator<A>): A[];
|
|
@@ -329,7 +301,6 @@ export interface ArrayDiffOperations<T> {
|
|
|
329
301
|
* @param to - The target array.
|
|
330
302
|
* @param getKey - The key function used to compare elements.
|
|
331
303
|
* @returns The difference operations between the two arrays.
|
|
332
|
-
* @category manipulation
|
|
333
304
|
* @public
|
|
334
305
|
*/
|
|
335
306
|
export declare function arrayDiffOperations<T, K>(from: T[], to: T[], getKey: (v: T) => K): ArrayDiffOperations<T>;
|
|
@@ -340,7 +311,6 @@ export declare function arrayDiffOperations<T, K>(from: T[], to: T[], getKey: (v
|
|
|
340
311
|
* @param operations - The operations to apply.
|
|
341
312
|
* @param start - The initial array.
|
|
342
313
|
* @returns The modified array after applying the operations.
|
|
343
|
-
* @category manipulation
|
|
344
314
|
* @public
|
|
345
315
|
*/
|
|
346
316
|
export declare function applyArrayDiffOperations<T>(operations: ArrayDiffOperations<T>, start: T[]): T[];
|
|
@@ -351,7 +321,6 @@ export declare function applyArrayDiffOperations<T>(operations: ArrayDiffOperati
|
|
|
351
321
|
* @param conjunction - The conjunction to use between the second-to-last and last value. Default is ' and '.
|
|
352
322
|
* @param separator - The separator to use between each value. Default is ', '.
|
|
353
323
|
* @returns The joined string.
|
|
354
|
-
* @category transformation
|
|
355
324
|
* @public
|
|
356
325
|
*/
|
|
357
326
|
export declare function joinArrayWithConjunction<A>(arr: A[], conjunction?: string, separator?: string): string;
|
|
@@ -365,7 +334,6 @@ export declare function joinArrayWithConjunction<A>(arr: A[], conjunction?: stri
|
|
|
365
334
|
* @param compare - The compare function used to determine the order of elements.
|
|
366
335
|
* @param incrementDuplicates - Whether to increment the rank of duplicate values.
|
|
367
336
|
* @returns An array of ranks corresponding to the elements in the input array.
|
|
368
|
-
* @category transformation
|
|
369
337
|
* @public
|
|
370
338
|
*/
|
|
371
339
|
export declare function rankArray<T>(array: T[], compare: (a: T, b: T) => number, incrementDuplicates?: boolean): number[];
|
package/function.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e){return e}function n(e){return t=>(...r)=>e(t,...r)}function u(e){let t;return()=>(t===void 0&&(t=e()),t)}exports.curryLeft=n;exports.identity=i;exports.memoize=u;
|
package/function.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export declare function compose<A>(): (a: A) => A;
|
|
2
|
-
export declare function compose<A, B>(f1: (a: A) => B): (a: A) => B;
|
|
3
|
-
export declare function compose<A, B, C>(f1: (a: A) => B, f2: (b: B) => C): (a: A) => C;
|
|
4
|
-
export declare function compose<A, B, C, D>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D): (a: A) => D;
|
|
5
|
-
export declare function compose<A, B, C, D, E>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D, f4: (d: D) => E): (a: A) => E;
|
|
6
|
-
export declare function compose<A, B, C, D, E, F>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D, f4: (d: D) => E, f5: (e: E) => F): (a: A) => F;
|
|
7
|
-
export declare function compose<A, B, C, D, E, F, G>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D, f4: (d: D) => E, f5: (e: E) => F, f6: (f: F) => G): (a: A) => G;
|
|
8
1
|
/**
|
|
9
2
|
* Returns the input value as is.
|
|
10
3
|
*
|
|
@@ -22,16 +15,6 @@ export declare function identity<T>(v: T): T;
|
|
|
22
15
|
* @public
|
|
23
16
|
*/
|
|
24
17
|
export declare function curryLeft<A, Rest extends any[], Ret>(f: (a: A, ...rest: Rest) => Ret): (a: A) => (...rest: Rest) => Ret;
|
|
25
|
-
export declare function curryRight<A, B, C, D>(f: (a: A, b: B, c: C) => D): (a: A, b: B) => (c: C) => D;
|
|
26
|
-
export declare function curryRight<A, B, C, D, E>(f: (a: A, b: B, c: C, d: D) => E): (a: A, b: B, c: C) => (d: D) => E;
|
|
27
|
-
export declare function curryRight<A, B, C, D, E, F>(f: (a: A, b: B, c: C, d: D, e: E) => F): (a: A, b: B, c: C, d: D) => (e: E) => F;
|
|
28
|
-
export declare function curryRight<A, B, C, D, E, F, G>(f: (a: A, b: B, c: C, d: D, e: E, f: F) => G): (a: A, b: B, c: C, d: D, e: E) => (f: F) => G;
|
|
29
|
-
export declare function flip<A, B, C>(f: (a: A, b: B) => C): (b: B, a: A) => C;
|
|
30
|
-
export declare function flip<A, B, C, D>(f: (a: A, b: B, c: C) => D): (c: C, b: B, a: A) => D;
|
|
31
|
-
export declare function flip<A, B, C, D, E>(f: (a: A, b: B, c: C, d: D) => E): (d: D, c: C, b: B, a: A) => E;
|
|
32
|
-
export declare function flip<A, B, C, D, E>(f: (a: A, b: B, c: C, d: D) => E): (d: D, c: C, b: B, a: A) => E;
|
|
33
|
-
export declare function flip<A, B, C, D, E, F>(f: (a: A, b: B, c: C, d: D, e: E) => F): (e: E, d: D, c: C, b: B, a: A) => F;
|
|
34
|
-
export declare function flip<A, B, C, D, E, F, G>(f: (a: A, b: B, c: C, d: D, e: E, f: F) => G): (f: F, e: E, d: D, c: C, b: B, a: A) => G;
|
|
35
18
|
/**
|
|
36
19
|
* Memoizes the result of a function and returns a new function that caches the result.
|
|
37
20
|
* The cached result is returned if available, otherwise the original function is called
|
package/function.js
CHANGED
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
1
|
+
function r(t) {
|
|
2
|
+
return t;
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function u(t) {
|
|
5
|
+
return (e) => (...n) => t(e, ...n);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function o(r) {
|
|
11
|
-
return (...n) => (
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13
|
-
(e) => r(...n.concat([e]))
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
function f(r) {
|
|
17
|
-
return (...n) => r(...n.reverse());
|
|
18
|
-
}
|
|
19
|
-
function d(r) {
|
|
20
|
-
let n;
|
|
21
|
-
return () => (n === void 0 && (n = r()), n);
|
|
7
|
+
function i(t) {
|
|
8
|
+
let e;
|
|
9
|
+
return () => (e === void 0 && (e = t()), e);
|
|
22
10
|
}
|
|
23
11
|
export {
|
|
24
|
-
u as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
f as flip,
|
|
28
|
-
i as identity,
|
|
29
|
-
d as memoize
|
|
12
|
+
u as curryLeft,
|
|
13
|
+
r as identity,
|
|
14
|
+
i as memoize
|
|
30
15
|
};
|
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./array.cjs"),l=require("./async-result.cjs"),i=require("./bigint.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./array.cjs"),l=require("./async-result.cjs"),i=require("./bigint.cjs"),s=require("./equal.cjs"),n=require("./function.cjs"),t=require("./number.cjs"),a=require("./object.cjs"),c=require("./regexp.cjs"),o=require("./result-DzdZiQoR.cjs"),e=require("./string.cjs");exports.allElements=r.allElements;exports.anyElement=r.anyElement;exports.applyArrayDiffOperations=r.applyArrayDiffOperations;exports.areArraysEqual=r.areArraysEqual;exports.arrayDiffOperations=r.arrayDiffOperations;exports.arrayHasValues=r.arrayHasValues;exports.arrayHead=r.arrayHead;exports.arrayOfIterableIterator=r.arrayOfIterableIterator;exports.arrayTail=r.arrayTail;exports.compareArrays=r.compareArrays;exports.concatArrays=r.concatArrays;exports.createFilledArray=r.createFilledArray;exports.filterArray=r.filterArray;exports.filterMapArray=r.filterMapArray;exports.filterNullsFromArray=r.filterNullsFromArray;exports.flatMapArray=r.flatMapArray;exports.flattenArray=r.flattenArray;exports.foldLeftArray=r.foldLeftArray;exports.forEachElement=r.forEachElement;exports.generateArray=r.generateArray;exports.generateSequenceArray=r.generateSequenceArray;exports.isArrayEmpty=r.isArrayEmpty;exports.joinArrayWithConjunction=r.joinArrayWithConjunction;exports.mapArray=r.mapArray;exports.rankArray=r.rankArray;exports.removeAllFromArray=r.removeAllFromArray;exports.removeAllFromArrayByPredicate=r.removeAllFromArrayByPredicate;exports.removeOneFromArray=r.removeOneFromArray;exports.removeOneFromArrayByPredicate=r.removeOneFromArrayByPredicate;exports.sortArray=r.sortArray;exports.uniqueByPredicate=r.uniqueByPredicate;exports.uniquePrimitives=r.uniquePrimitives;exports.AsyncResult=l.AsyncResult;exports.biAbs=i.biAbs;exports.biCeilDiv=i.biCeilDiv;exports.biCompare=i.biCompare;exports.biFloorDiv=i.biFloorDiv;exports.biGcd=i.biGcd;exports.biIsEven=i.biIsEven;exports.biIsNegative=i.biIsNegative;exports.biIsOdd=i.biIsOdd;exports.biIsOne=i.biIsOne;exports.biIsPositive=i.biIsPositive;exports.biIsPrime=i.biIsPrime;exports.biIsZero=i.biIsZero;exports.biLcm=i.biLcm;exports.biMax=i.biMax;exports.biMin=i.biMin;exports.biNextPrime=i.biNextPrime;exports.biPow=i.biPow;exports.biPrevPrime=i.biPrevPrime;exports.deepEqual=s.deepEqual;exports.looseEqual=s.looseEqual;exports.strictEqual=s.strictEqual;exports.curryLeft=n.curryLeft;exports.identity=n.identity;exports.memoize=n.memoize;exports.EPSILON=t.EPSILON;exports.angleDifference=t.angleDifference;exports.ceilTo=t.ceilTo;exports.clamp=t.clamp;exports.clampInt=t.clampInt;exports.clampSym=t.clampSym;exports.compareNumbers=t.compareNumbers;exports.floorTo=t.floorTo;exports.interpolate=t.interpolate;exports.interpolateAngle=t.interpolateAngle;exports.interpolateAngleCCW=t.interpolateAngleCCW;exports.interpolateAngleCW=t.interpolateAngleCW;exports.interpolateWidestAngle=t.interpolateWidestAngle;exports.nearEqualAngles=t.nearEqualAngles;exports.nearEquals=t.nearEquals;exports.nearZero=t.nearZero;exports.root=t.root;exports.roundTo=t.roundTo;exports.sign=t.sign;exports.toHex=t.toHex;exports.widestAngleDifference=t.widestAngleDifference;exports.wrap=t.wrap;exports.wrapCircular=t.wrapCircular;exports.isEmptyObject=a.isEmptyObject;exports.isObject=a.isObject;exports.mergeObjects=a.mergeObjects;exports.objectKeys=a.objectKeys;exports.removeObjectFields=a.removeObjectFields;exports.sameObjectKeys=a.sameObjectKeys;exports.mapRegExp=c.mapRegExp;exports.Result=o.Result;exports.Validation=o.Validation;exports.afterLastText=e.afterLastText;exports.afterText=e.afterText;exports.beforeLastText=e.beforeLastText;exports.beforeText=e.beforeText;exports.canonicalizeNewlines=e.canonicalizeNewlines;exports.capitalize=e.capitalize;exports.capitalizeWords=e.capitalizeWords;exports.chunkText=e.chunkText;exports.compareCaseInsensitive=e.compareCaseInsensitive;exports.compareStrings=e.compareStrings;exports.containsAllText=e.containsAllText;exports.containsAllTextCaseInsensitive=e.containsAllTextCaseInsensitive;exports.containsAnyText=e.containsAnyText;exports.containsAnyTextCaseInsensitive=e.containsAnyTextCaseInsensitive;exports.countTextOccurrences=e.countTextOccurrences;exports.dasherize=e.dasherize;exports.decodeBase64=e.decodeBase64;exports.ellipsis=e.ellipsis;exports.ellipsisMiddle=e.ellipsisMiddle;exports.encodeBase64=e.encodeBase64;exports.endsWithAnyText=e.endsWithAnyText;exports.filterCharcode=e.filterCharcode;exports.filterText=e.filterText;exports.humanize=e.humanize;exports.ifEmptyString=e.ifEmptyString;exports.isAlpha=e.isAlpha;exports.isAlphaNum=e.isAlphaNum;exports.isBreakingWhitespace=e.isBreakingWhitespace;exports.isDigitsOnly=e.isDigitsOnly;exports.isEmptyString=e.isEmptyString;exports.isLowerCase=e.isLowerCase;exports.isSpaceAt=e.isSpaceAt;exports.isUpperCase=e.isUpperCase;exports.jsQuote=e.jsQuote;exports.lowerCaseFirst=e.lowerCaseFirst;exports.lpad=e.lpad;exports.mapChars=e.mapChars;exports.quote=e.quote;exports.randomString=e.randomString;exports.randomStringSequence=e.randomStringSequence;exports.randomStringSequenceBase64=e.randomStringSequenceBase64;exports.removeFirstFromString=e.removeFirstFromString;exports.removeFromString=e.removeFromString;exports.removeFromStringAfter=e.removeFromStringAfter;exports.removeFromStringBefore=e.removeFromStringBefore;exports.removeSliceFromString=e.removeSliceFromString;exports.repeatString=e.repeatString;exports.replaceAll=e.replaceAll;exports.reverseString=e.reverseString;exports.rpad=e.rpad;exports.smartQuote=e.smartQuote;exports.splitOnFirst=e.splitOnFirst;exports.splitOnLast=e.splitOnLast;exports.splitStringOnce=e.splitStringOnce;exports.stringHasContent=e.stringHasContent;exports.stringHashCode=e.stringHashCode;exports.stringToCharcodes=e.stringToCharcodes;exports.stringToChars=e.stringToChars;exports.stringToLines=e.stringToLines;exports.stringsDifferAtIndex=e.stringsDifferAtIndex;exports.surroundText=e.surroundText;exports.textCollapse=e.textCollapse;exports.textContains=e.textContains;exports.textContainsCaseInsensitive=e.textContainsCaseInsensitive;exports.textEndsWith=e.textEndsWith;exports.textEndsWithAnyCaseInsensitive=e.textEndsWithAnyCaseInsensitive;exports.textEndsWithCaseInsensitive=e.textEndsWithCaseInsensitive;exports.textStartsWith=e.textStartsWith;exports.textStartsWithAny=e.textStartsWithAny;exports.textStartsWithAnyCaseInsensitive=e.textStartsWithAnyCaseInsensitive;exports.textStartsWithCaseInsensitive=e.textStartsWithCaseInsensitive;exports.trimChars=e.trimChars;exports.trimCharsLeft=e.trimCharsLeft;exports.trimCharsRight=e.trimCharsRight;exports.underscore=e.underscore;exports.upperCaseFirst=e.upperCaseFirst;exports.wrapColumns=e.wrapColumns;exports.wrapLine=e.wrapLine;
|