@ezez/utils 1.1.0 → 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 (134) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +41 -20
  3. package/dist/ensureDate.d.ts +3 -0
  4. package/dist/ensureDate.d.ts.map +1 -0
  5. package/dist/ensureDate.js +11 -0
  6. package/dist/ensureDate.js.map +1 -0
  7. package/dist/ensurePrefix.d.ts +3 -0
  8. package/dist/ensurePrefix.d.ts.map +1 -0
  9. package/dist/ensurePrefix.js +11 -0
  10. package/dist/ensurePrefix.js.map +1 -0
  11. package/dist/ensureSuffix.d.ts +3 -0
  12. package/dist/ensureSuffix.d.ts.map +1 -0
  13. package/dist/ensureSuffix.js +11 -0
  14. package/dist/ensureSuffix.js.map +1 -0
  15. package/dist/ensureTimestamp.d.ts +3 -0
  16. package/dist/ensureTimestamp.d.ts.map +1 -0
  17. package/dist/ensureTimestamp.js +11 -0
  18. package/dist/ensureTimestamp.js.map +1 -0
  19. package/dist/index.d.ts +6 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +6 -0
  22. package/dist/index.js.map +1 -1
  23. package/dist/stripPrefix.d.ts +3 -0
  24. package/dist/stripPrefix.d.ts.map +1 -0
  25. package/dist/stripPrefix.js +11 -0
  26. package/dist/stripPrefix.js.map +1 -0
  27. package/dist/stripSuffix.d.ts +3 -0
  28. package/dist/stripSuffix.d.ts.map +1 -0
  29. package/dist/stripSuffix.js +11 -0
  30. package/dist/stripSuffix.js.map +1 -0
  31. package/docs/assets/search.js +1 -1
  32. package/docs/functions/cap.html +11 -5
  33. package/docs/functions/capitalize.html +11 -5
  34. package/docs/functions/coalesce.html +11 -5
  35. package/docs/functions/ensureArray.html +11 -5
  36. package/docs/functions/ensureDate.html +126 -0
  37. package/docs/functions/ensureError.html +11 -5
  38. package/docs/functions/ensurePrefix.html +128 -0
  39. package/docs/functions/ensureSuffix.html +128 -0
  40. package/docs/functions/ensureTimestamp.html +126 -0
  41. package/docs/functions/get.html +11 -5
  42. package/docs/functions/getMultiple.html +11 -5
  43. package/docs/functions/insertSeparator.html +11 -5
  44. package/docs/functions/isEmpty.html +11 -5
  45. package/docs/functions/isNumericString.html +11 -5
  46. package/docs/functions/isPlainObject.html +11 -5
  47. package/docs/functions/last.html +11 -5
  48. package/docs/functions/mapAsync.html +11 -5
  49. package/docs/functions/mapValues.html +11 -5
  50. package/docs/functions/match.html +11 -5
  51. package/docs/functions/merge.html +19 -13
  52. package/docs/functions/mostFrequent.html +11 -5
  53. package/docs/functions/noop.html +11 -5
  54. package/docs/functions/occurrences.html +11 -5
  55. package/docs/functions/omit.html +11 -5
  56. package/docs/functions/pick.html +11 -5
  57. package/docs/functions/pull.html +11 -5
  58. package/docs/functions/remove.html +11 -5
  59. package/docs/functions/rethrow.html +11 -5
  60. package/docs/functions/scale.html +11 -5
  61. package/docs/functions/seq.html +11 -5
  62. package/docs/functions/seqEarlyBreak.html +11 -5
  63. package/docs/functions/set.html +11 -5
  64. package/docs/functions/setImmutable.html +11 -5
  65. package/docs/functions/sortBy.html +11 -5
  66. package/docs/functions/stripPrefix.html +122 -0
  67. package/docs/functions/stripSuffix.html +122 -0
  68. package/docs/functions/throttle.html +11 -5
  69. package/docs/functions/truthy.html +11 -5
  70. package/docs/functions/wait.html +11 -5
  71. package/docs/functions/waitFor.html +11 -5
  72. package/docs/functions/waitSync.html +11 -5
  73. package/docs/index.html +82 -24
  74. package/docs/interfaces/GetMultipleSource.html +11 -5
  75. package/docs/interfaces/GetSource.html +11 -5
  76. package/docs/interfaces/IsNumericStringOptions.html +9 -9
  77. package/docs/interfaces/OccurencesOptions.html +6 -6
  78. package/docs/interfaces/SetImmutableSource.html +11 -5
  79. package/docs/interfaces/SetSource.html +11 -5
  80. package/docs/interfaces/ThrottleOptions.html +7 -7
  81. package/docs/interfaces/ThrottledFunctionExtras.html +7 -7
  82. package/docs/modules.html +16 -4
  83. package/docs/pages/Introduction.html +10 -4
  84. package/docs/types/MapValuesFn.html +11 -5
  85. package/docs/types/MatchCallback.html +11 -5
  86. package/docs/types/SeqEarlyBreaker.html +11 -5
  87. package/docs/types/SeqFn.html +11 -5
  88. package/docs/types/SeqFunctions.html +11 -5
  89. package/docs/types/SetImmutablePath.html +11 -5
  90. package/docs/types/ThrottledFunction.html +11 -5
  91. package/docs/variables/mapValuesUNSET.html +11 -5
  92. package/docs/variables/mergeUNSET.html +11 -5
  93. package/esm/ensureDate.d.ts +3 -0
  94. package/esm/ensureDate.d.ts.map +1 -0
  95. package/esm/ensureDate.js +8 -0
  96. package/esm/ensureDate.js.map +1 -0
  97. package/esm/ensurePrefix.d.ts +3 -0
  98. package/esm/ensurePrefix.d.ts.map +1 -0
  99. package/esm/ensurePrefix.js +8 -0
  100. package/esm/ensurePrefix.js.map +1 -0
  101. package/esm/ensureSuffix.d.ts +3 -0
  102. package/esm/ensureSuffix.d.ts.map +1 -0
  103. package/esm/ensureSuffix.js +8 -0
  104. package/esm/ensureSuffix.js.map +1 -0
  105. package/esm/ensureTimestamp.d.ts +3 -0
  106. package/esm/ensureTimestamp.d.ts.map +1 -0
  107. package/esm/ensureTimestamp.js +8 -0
  108. package/esm/ensureTimestamp.js.map +1 -0
  109. package/esm/index.d.ts +6 -0
  110. package/esm/index.d.ts.map +1 -1
  111. package/esm/index.js +6 -0
  112. package/esm/index.js.map +1 -1
  113. package/esm/stripPrefix.d.ts +3 -0
  114. package/esm/stripPrefix.d.ts.map +1 -0
  115. package/esm/stripPrefix.js +8 -0
  116. package/esm/stripPrefix.js.map +1 -0
  117. package/esm/stripSuffix.d.ts +3 -0
  118. package/esm/stripSuffix.d.ts.map +1 -0
  119. package/esm/stripSuffix.js +8 -0
  120. package/esm/stripSuffix.js.map +1 -0
  121. package/package.json +1 -1
  122. package/src/ensureDate.spec.ts +13 -0
  123. package/src/ensureDate.ts +18 -0
  124. package/src/ensurePrefix.spec.ts +11 -0
  125. package/src/ensurePrefix.ts +18 -0
  126. package/src/ensureSuffix.spec.ts +11 -0
  127. package/src/ensureSuffix.ts +18 -0
  128. package/src/ensureTimestamp.spec.ts +11 -0
  129. package/src/ensureTimestamp.ts +18 -0
  130. package/src/index.ts +6 -0
  131. package/src/stripPrefix.spec.ts +13 -0
  132. package/src/stripPrefix.ts +15 -0
  133. package/src/stripSuffix.spec.ts +13 -0
  134. package/src/stripSuffix.ts +16 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
3
3
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
4
4
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [1.2.0] - 2023-03-01
7
+ ### Added
8
+ - `ensureDate` method
9
+ - `ensurePrefix` method
10
+ - `ensureSuffix` method
11
+ - `ensureTimestamp` method
12
+ - `stripPrefix` method
13
+ - `stripSuffix` method
14
+
6
15
  ## [1.1.0] - 2023-02-20
7
16
  ### Added
8
17
  - `isNumericString` method
package/README.md CHANGED
@@ -29,40 +29,61 @@ object, with just some properties copied. Easy, right? Few lines of code? Lodash
29
29
 
30
30
  ## Supported methods
31
31
 
32
- - `cap` - cap a value between lower and upper bound
32
+ ### String related
33
+ - `addPrefix` - add prefix to a string if not already present
34
+ - `addSuffix` - add suffix to a string if not already present
33
35
  - `capitalize` - capitalize a string, optionally lower casing the rest
34
- - `coalesce` - return first non-nullish value
36
+ - `isNumericString` - check if given value is a numeric string, features configurable
37
+ - `occurrences` - count occurrences of a substring in a string, optionally allow overlapping
38
+ - `stripPrefix` - strip prefix from a string
39
+ - `stripSuffix` - strip suffix from a string
40
+
41
+ ### Number related
42
+ - `cap` - cap a value between lower and upper bound
43
+ - `scale` - scale given value from old range to new range
44
+
45
+ ### Array related
35
46
  - `ensureArray` - ensure that given value is an array
36
- - `ensureError` - ensure that given value is an error
37
- - `get` - extract a value from a deep object using specified path, optionally with a default value
38
- - `getMultiple` - same as above, but test multiple paths
39
47
  - `insertSeparator` - insert a separator between every character in an array
40
- - `isEmpty` - check if given value is empty
41
- - `isPlainObject` - check if given value is a plain object
42
- - `isNumericString` - check if given value is a numeric string, features configurable
43
48
  - `last` - get last element of an array
44
- - `mapAsync` - map an array asynchronously if sync version blocks your event loop for too long
45
- - `mapValues` - map values of an object
46
49
  - `match` - split your array into two groups - one that matches given predicate, and one that doesn't
47
- - `merge` - merge two objects shallowly, allowing to remove properties while doing so
48
50
  - `mostFrequent` - find most frequent value in an array
49
- - `noop` - do nothing
50
- - `occurrences` - count occurrences of a substring in a string, optionally allow overlapping
51
- - `omit` - omit properties from an object
52
- - `pick` - pick some properties from an object
53
51
  - `pull` - remove values from an array (by mutating)
54
52
  - `remove` - remove values from an array (by mutating) using predicate function and return removed values
53
+ - `sortBy` - sort an array by given property (create callback function for `Array.prototype.sort`)
54
+
55
+ ### Object related
56
+ - `isPlainObject` - check if given value is a plain object
57
+ - `mapValues` - map values of an object
58
+ - `merge` - merge two objects shallowly, allowing to remove properties while doing so
59
+ - `omit` - omit properties from an object
60
+ - `pick` - pick some properties from an object
61
+
62
+ ### Date related
63
+ - `ensureDate` - ensure that given value is a Date instance
64
+ - `ensureTimestamp` - ensure that given value is a numeric timestamp
65
+
66
+ ### Type safety
67
+ - `coalesce` - return first non-nullish value
68
+ - `ensureError` - ensure that given value is an error
69
+
70
+ ### Flow related
71
+ - `mapAsync` - map an array asynchronously if sync version blocks your event loop for too long
72
+ - `noop` - do nothing
55
73
  - `rethrow` - throw given value
56
- - `scale` - scale given value from old range to new range
57
74
  - `seq` - sequentially execute Promise-returning functions until one returns a value
75
+ - `wait` - wait given amount of time (async)
76
+ - `waitSync` - wait given amount of time (sync)
77
+ - `waitFor` - wait for a condition to be true, checking every given amount of time
78
+
79
+ ### Various
80
+ - `get` - extract a value from a deep object using specified path, optionally with a default value
81
+ - `getMultiple` - same as above, but test multiple paths
58
82
  - `set` - set a value in a deep object using specified path
59
83
  - `setImmutable` - set a value in a deep object using specified path, but return a new object
60
- - `sortBy` - sort an array by given property (create callback function for `Array.prototype.sort`)
84
+ - `isEmpty` - check if given value is empty
61
85
  - `throttle` - throttle a function, very configurable
62
86
  - `truthy` - is value truthy? (useful for filtering with more correct TypeScript support than `filter(Boolean)`)
63
- - `wait` - wait given amount of time (async)
64
- - `waitSync` - wait given amount of time (sync)
65
- - `waitFor` - wait for a condition to be true, checking every given amount of time
66
87
 
67
88
  Methods will be added as I need them. I am open for suggestions and PRs. See next heading for list of methods that I
68
89
  want to add.
@@ -0,0 +1,3 @@
1
+ declare const ensureDate: (date: Date | number) => Date;
2
+ export { ensureDate, };
3
+ //# sourceMappingURL=ensureDate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureDate.d.ts","sourceRoot":"","sources":["../src/ensureDate.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,UAAU,SAAU,IAAI,GAAG,MAAM,KAAG,IAKzC,CAAC;AAEF,OAAO,EACH,UAAU,GACb,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensureDate = void 0;
4
+ const ensureDate = (date) => {
5
+ if (typeof date === "number") {
6
+ return new Date(date);
7
+ }
8
+ return date;
9
+ };
10
+ exports.ensureDate = ensureDate;
11
+ //# sourceMappingURL=ensureDate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureDate.js","sourceRoot":"","sources":["../src/ensureDate.ts"],"names":[],"mappings":";;;AAQA,MAAM,UAAU,GAAG,CAAC,IAAmB,EAAQ,EAAE;IAC7C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC1B,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;KACzB;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAGE,gCAAU"}
@@ -0,0 +1,3 @@
1
+ declare const ensurePrefix: (string: string, prefix: string) => string;
2
+ export { ensurePrefix, };
3
+ //# sourceMappingURL=ensurePrefix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensurePrefix.d.ts","sourceRoot":"","sources":["../src/ensurePrefix.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,YAAY,WAAY,MAAM,UAAU,MAAM,WAKnD,CAAC;AAEF,OAAO,EACH,YAAY,GACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensurePrefix = void 0;
4
+ const ensurePrefix = (string, prefix) => {
5
+ if (string.startsWith(prefix)) {
6
+ return string;
7
+ }
8
+ return prefix + string;
9
+ };
10
+ exports.ensurePrefix = ensurePrefix;
11
+ //# sourceMappingURL=ensurePrefix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensurePrefix.js","sourceRoot":"","sources":["../src/ensurePrefix.ts"],"names":[],"mappings":";;;AAQA,MAAM,YAAY,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE;IACpD,IAAI,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;QAC3B,OAAO,MAAM,CAAC;KACjB;IACD,OAAO,MAAM,GAAG,MAAM,CAAC;AAC3B,CAAC,CAAC;AAGE,oCAAY"}
@@ -0,0 +1,3 @@
1
+ declare const ensureSuffix: (string: string, suffix: string) => string;
2
+ export { ensureSuffix, };
3
+ //# sourceMappingURL=ensureSuffix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureSuffix.d.ts","sourceRoot":"","sources":["../src/ensureSuffix.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,YAAY,WAAY,MAAM,UAAU,MAAM,WAKnD,CAAC;AAEF,OAAO,EACH,YAAY,GACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensureSuffix = void 0;
4
+ const ensureSuffix = (string, suffix) => {
5
+ if (string.endsWith(suffix)) {
6
+ return string;
7
+ }
8
+ return string + suffix;
9
+ };
10
+ exports.ensureSuffix = ensureSuffix;
11
+ //# sourceMappingURL=ensureSuffix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureSuffix.js","sourceRoot":"","sources":["../src/ensureSuffix.ts"],"names":[],"mappings":";;;AAQA,MAAM,YAAY,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE;IACpD,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACzB,OAAO,MAAM,CAAC;KACjB;IACD,OAAO,MAAM,GAAG,MAAM,CAAC;AAC3B,CAAC,CAAC;AAGE,oCAAY"}
@@ -0,0 +1,3 @@
1
+ declare const ensureTimestamp: (date: Date | number) => number;
2
+ export { ensureTimestamp, };
3
+ //# sourceMappingURL=ensureTimestamp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureTimestamp.d.ts","sourceRoot":"","sources":["../src/ensureTimestamp.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,eAAe,SAAU,IAAI,GAAG,MAAM,KAAG,MAK9C,CAAC;AAEF,OAAO,EACH,eAAe,GAClB,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensureTimestamp = void 0;
4
+ const ensureTimestamp = (date) => {
5
+ if (typeof date === "number") {
6
+ return date;
7
+ }
8
+ return date.getTime();
9
+ };
10
+ exports.ensureTimestamp = ensureTimestamp;
11
+ //# sourceMappingURL=ensureTimestamp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensureTimestamp.js","sourceRoot":"","sources":["../src/ensureTimestamp.ts"],"names":[],"mappings":";;;AAQA,MAAM,eAAe,GAAG,CAAC,IAAmB,EAAU,EAAE;IACpD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC1B,OAAO,IAAI,CAAC;KACf;IACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;AAC1B,CAAC,CAAC;AAGE,0CAAe"}
package/dist/index.d.ts CHANGED
@@ -1,8 +1,12 @@
1
+ export * from "./ensurePrefix.js";
2
+ export * from "./ensureSuffix.js";
1
3
  export * from "./cap.js";
2
4
  export * from "./capitalize.js";
3
5
  export * from "./coalesce.js";
4
6
  export * from "./ensureArray.js";
7
+ export * from "./ensureDate.js";
5
8
  export * from "./ensureError.js";
9
+ export * from "./ensureTimestamp.js";
6
10
  export * from "./get.js";
7
11
  export * from "./getMultiple.js";
8
12
  export * from "./insertSeparator.js";
@@ -27,6 +31,8 @@ export * from "./seq.js";
27
31
  export * from "./set.js";
28
32
  export * from "./setImmutable.js";
29
33
  export * from "./sortBy.js";
34
+ export * from "./stripPrefix.js";
35
+ export * from "./stripSuffix.js";
30
36
  export * from "./throttle.js";
31
37
  export * from "./truthy.js";
32
38
  export * from "./wait.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -14,11 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ensurePrefix.js"), exports);
18
+ __exportStar(require("./ensureSuffix.js"), exports);
17
19
  __exportStar(require("./cap.js"), exports);
18
20
  __exportStar(require("./capitalize.js"), exports);
19
21
  __exportStar(require("./coalesce.js"), exports);
20
22
  __exportStar(require("./ensureArray.js"), exports);
23
+ __exportStar(require("./ensureDate.js"), exports);
21
24
  __exportStar(require("./ensureError.js"), exports);
25
+ __exportStar(require("./ensureTimestamp.js"), exports);
22
26
  __exportStar(require("./get.js"), exports);
23
27
  __exportStar(require("./getMultiple.js"), exports);
24
28
  __exportStar(require("./insertSeparator.js"), exports);
@@ -43,6 +47,8 @@ __exportStar(require("./seq.js"), exports);
43
47
  __exportStar(require("./set.js"), exports);
44
48
  __exportStar(require("./setImmutable.js"), exports);
45
49
  __exportStar(require("./sortBy.js"), exports);
50
+ __exportStar(require("./stripPrefix.js"), exports);
51
+ __exportStar(require("./stripSuffix.js"), exports);
46
52
  __exportStar(require("./throttle.js"), exports);
47
53
  __exportStar(require("./truthy.js"), exports);
48
54
  __exportStar(require("./wait.js"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,2CAAyB;AACzB,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,mDAAiC;AACjC,uDAAqC;AACrC,+CAA6B;AAC7B,uDAAqC;AACrC,qDAAmC;AACnC,4CAA0B;AAC1B,gDAA8B;AAC9B,iDAA+B;AAC/B,6CAA2B;AAC3B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,mDAAiC;AACjC,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,oDAAkC;AAClC,8CAA4B;AAC5B,gDAA8B;AAC9B,8CAA4B;AAC5B,4CAA0B;AAC1B,+CAA6B;AAC7B,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,oDAAkC;AAClC,oDAAkC;AAClC,2CAAyB;AACzB,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,uDAAqC;AACrC,2CAAyB;AACzB,mDAAiC;AACjC,uDAAqC;AACrC,+CAA6B;AAC7B,uDAAqC;AACrC,qDAAmC;AACnC,4CAA0B;AAC1B,gDAA8B;AAC9B,iDAA+B;AAC/B,6CAA2B;AAC3B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,mDAAiC;AACjC,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,4CAA0B;AAC1B,+CAA6B;AAC7B,gDAA8B"}
@@ -0,0 +1,3 @@
1
+ declare const stripPrefix: (from: string, prefix: string) => string;
2
+ export { stripPrefix, };
3
+ //# sourceMappingURL=stripPrefix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripPrefix.d.ts","sourceRoot":"","sources":["../src/stripPrefix.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW,SAAU,MAAM,UAAU,MAAM,KAAG,MAKnD,CAAC;AAEF,OAAO,EACH,WAAW,GACd,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stripPrefix = void 0;
4
+ const stripPrefix = (from, prefix) => {
5
+ if (from.startsWith(prefix)) {
6
+ return from.slice(prefix.length);
7
+ }
8
+ return from;
9
+ };
10
+ exports.stripPrefix = stripPrefix;
11
+ //# sourceMappingURL=stripPrefix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripPrefix.js","sourceRoot":"","sources":["../src/stripPrefix.ts"],"names":[],"mappings":";;;AAKA,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,MAAc,EAAU,EAAE;IACzD,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACpC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAGE,kCAAW"}
@@ -0,0 +1,3 @@
1
+ declare const stripSuffix: (from: string, suffix: string) => string;
2
+ export { stripSuffix, };
3
+ //# sourceMappingURL=stripSuffix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripSuffix.d.ts","sourceRoot":"","sources":["../src/stripSuffix.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW,SAAU,MAAM,UAAU,MAAM,KAAG,MAKnD,CAAC;AAEF,OAAO,EACH,WAAW,GACd,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stripSuffix = void 0;
4
+ const stripSuffix = (from, suffix) => {
5
+ if (from.endsWith(suffix)) {
6
+ return from.slice(0, -suffix.length);
7
+ }
8
+ return from;
9
+ };
10
+ exports.stripSuffix = stripSuffix;
11
+ //# sourceMappingURL=stripSuffix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripSuffix.js","sourceRoot":"","sources":["../src/stripSuffix.ts"],"names":[],"mappings":";;;AAMA,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,MAAc,EAAU,EAAE;IACzD,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACxC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAGE,kCAAW"}
@@ -1 +1 @@
1
- window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"256\":\"Interface\",\"1024\":\"Property\",\"65536\":\"Type literal\",\"4194304\":\"Type alias\",\"33554432\":\"@knodes/typedoc-plugin-pages: page\"},\"rows\":[{\"kind\":64,\"name\":\"cap\",\"url\":\"functions/cap.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"capitalize\",\"url\":\"functions/capitalize.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"coalesce\",\"url\":\"functions/coalesce.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureArray\",\"url\":\"functions/ensureArray.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureError\",\"url\":\"functions/ensureError.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"get\",\"url\":\"functions/get.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"GetSource\",\"url\":\"interfaces/GetSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"getMultiple\",\"url\":\"functions/getMultiple.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"GetMultipleSource\",\"url\":\"interfaces/GetMultipleSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"insertSeparator\",\"url\":\"functions/insertSeparator.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"isEmpty\",\"url\":\"functions/isEmpty.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"isNumericString\",\"url\":\"functions/isNumericString.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"IsNumericStringOptions\",\"url\":\"interfaces/IsNumericStringOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"allowFloats\",\"url\":\"interfaces/IsNumericStringOptions.html#allowFloats\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowExponents\",\"url\":\"interfaces/IsNumericStringOptions.html#allowExponents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowInfinity\",\"url\":\"interfaces/IsNumericStringOptions.html#allowInfinity\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowNaN\",\"url\":\"interfaces/IsNumericStringOptions.html#allowNaN\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":64,\"name\":\"isPlainObject\",\"url\":\"functions/isPlainObject.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"last\",\"url\":\"functions/last.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"mapAsync\",\"url\":\"functions/mapAsync.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"mapValues\",\"url\":\"functions/mapValues.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":32,\"name\":\"mapValuesUNSET\",\"url\":\"variables/mapValuesUNSET.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/mapValuesUNSET.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"mapValuesUNSET\"},{\"kind\":4194304,\"name\":\"MapValuesFn\",\"url\":\"types/MapValuesFn.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MapValuesFn.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MapValuesFn\"},{\"kind\":64,\"name\":\"match\",\"url\":\"functions/match.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/match.html#match.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"match.match\"},{\"kind\":1024,\"name\":\"matched\",\"url\":\"functions/match.html#match.__type.matched\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"match.match.__type\"},{\"kind\":1024,\"name\":\"unmatched\",\"url\":\"functions/match.html#match.__type.unmatched\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"match.match.__type\"},{\"kind\":4194304,\"name\":\"MatchCallback\",\"url\":\"types/MatchCallback.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MatchCallback.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MatchCallback\"},{\"kind\":64,\"name\":\"merge\",\"url\":\"functions/merge.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":32,\"name\":\"mergeUNSET\",\"url\":\"variables/mergeUNSET.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/mergeUNSET.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"mergeUNSET\"},{\"kind\":64,\"name\":\"mostFrequent\",\"url\":\"functions/mostFrequent.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"noop\",\"url\":\"functions/noop.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"occurrences\",\"url\":\"functions/occurrences.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"OccurencesOptions\",\"url\":\"interfaces/OccurencesOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"overlap\",\"url\":\"interfaces/OccurencesOptions.html#overlap\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"OccurencesOptions\"},{\"kind\":64,\"name\":\"omit\",\"url\":\"functions/omit.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"pick\",\"url\":\"functions/pick.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"pull\",\"url\":\"functions/pull.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"remove\",\"url\":\"functions/remove.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"rethrow\",\"url\":\"functions/rethrow.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"scale\",\"url\":\"functions/scale.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"seq\",\"url\":\"functions/seq.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"seqEarlyBreak\",\"url\":\"functions/seqEarlyBreak.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"SeqEarlyBreaker\",\"url\":\"types/SeqEarlyBreaker.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/SeqEarlyBreaker.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"SeqEarlyBreaker\"},{\"kind\":4194304,\"name\":\"SeqFunctions\",\"url\":\"types/SeqFunctions.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"SeqFn\",\"url\":\"types/SeqFn.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/SeqFn.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"SeqFn\"},{\"kind\":64,\"name\":\"set\",\"url\":\"functions/set.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"SetSource\",\"url\":\"interfaces/SetSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"setImmutable\",\"url\":\"functions/setImmutable.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"SetImmutablePath\",\"url\":\"types/SetImmutablePath.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"SetImmutableSource\",\"url\":\"interfaces/SetImmutableSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"sortBy\",\"url\":\"functions/sortBy.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/sortBy.html#sortBy.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"sortBy.sortBy\"},{\"kind\":64,\"name\":\"throttle\",\"url\":\"functions/throttle.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"ThrottledFunctionExtras\",\"url\":\"interfaces/ThrottledFunctionExtras.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"cancel\",\"url\":\"interfaces/ThrottledFunctionExtras.html#cancel\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottledFunctionExtras\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/ThrottledFunctionExtras.html#cancel.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ThrottledFunctionExtras.cancel\"},{\"kind\":1024,\"name\":\"flush\",\"url\":\"interfaces/ThrottledFunctionExtras.html#flush\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottledFunctionExtras\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/ThrottledFunctionExtras.html#flush.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ThrottledFunctionExtras.flush\"},{\"kind\":256,\"name\":\"ThrottleOptions\",\"url\":\"interfaces/ThrottleOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"leading\",\"url\":\"interfaces/ThrottleOptions.html#leading\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottleOptions\"},{\"kind\":1024,\"name\":\"trailing\",\"url\":\"interfaces/ThrottleOptions.html#trailing\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottleOptions\"},{\"kind\":4194304,\"name\":\"ThrottledFunction\",\"url\":\"types/ThrottledFunction.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ThrottledFunction.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ThrottledFunction\"},{\"kind\":64,\"name\":\"truthy\",\"url\":\"functions/truthy.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"wait\",\"url\":\"functions/wait.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"waitFor\",\"url\":\"functions/waitFor.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"waitSync\",\"url\":\"functions/waitSync.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":33554432,\"name\":\"Introduction\",\"url\":\"pages/Introduction.html\",\"classes\":\"pages-entry pages-entry-page\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,39.253]],[\"comment/0\",[]],[\"name/1\",[1,39.253]],[\"comment/1\",[]],[\"name/2\",[2,39.253]],[\"comment/2\",[]],[\"name/3\",[3,39.253]],[\"comment/3\",[]],[\"name/4\",[4,39.253]],[\"comment/4\",[]],[\"name/5\",[5,39.253]],[\"comment/5\",[]],[\"name/6\",[6,39.253]],[\"comment/6\",[]],[\"name/7\",[7,39.253]],[\"comment/7\",[]],[\"name/8\",[8,39.253]],[\"comment/8\",[]],[\"name/9\",[9,39.253]],[\"comment/9\",[]],[\"name/10\",[10,39.253]],[\"comment/10\",[]],[\"name/11\",[11,39.253]],[\"comment/11\",[]],[\"name/12\",[12,39.253]],[\"comment/12\",[]],[\"name/13\",[13,39.253]],[\"comment/13\",[]],[\"name/14\",[14,39.253]],[\"comment/14\",[]],[\"name/15\",[15,39.253]],[\"comment/15\",[]],[\"name/16\",[16,39.253]],[\"comment/16\",[]],[\"name/17\",[17,39.253]],[\"comment/17\",[]],[\"name/18\",[18,39.253]],[\"comment/18\",[]],[\"name/19\",[19,39.253]],[\"comment/19\",[]],[\"name/20\",[20,39.253]],[\"comment/20\",[]],[\"name/21\",[21,39.253]],[\"comment/21\",[]],[\"name/22\",[22,18.884]],[\"comment/22\",[]],[\"name/23\",[23,39.253]],[\"comment/23\",[]],[\"name/24\",[22,18.884]],[\"comment/24\",[]],[\"name/25\",[24,39.253]],[\"comment/25\",[]],[\"name/26\",[22,18.884]],[\"comment/26\",[]],[\"name/27\",[25,39.253]],[\"comment/27\",[]],[\"name/28\",[26,39.253]],[\"comment/28\",[]],[\"name/29\",[27,39.253]],[\"comment/29\",[]],[\"name/30\",[22,18.884]],[\"comment/30\",[]],[\"name/31\",[28,39.253]],[\"comment/31\",[]],[\"name/32\",[29,39.253]],[\"comment/32\",[]],[\"name/33\",[22,18.884]],[\"comment/33\",[]],[\"name/34\",[30,39.253]],[\"comment/34\",[]],[\"name/35\",[31,39.253]],[\"comment/35\",[]],[\"name/36\",[32,39.253]],[\"comment/36\",[]],[\"name/37\",[33,39.253]],[\"comment/37\",[]],[\"name/38\",[34,39.253]],[\"comment/38\",[]],[\"name/39\",[35,39.253]],[\"comment/39\",[]],[\"name/40\",[36,39.253]],[\"comment/40\",[]],[\"name/41\",[37,39.253]],[\"comment/41\",[]],[\"name/42\",[38,39.253]],[\"comment/42\",[]],[\"name/43\",[39,39.253]],[\"comment/43\",[]],[\"name/44\",[40,39.253]],[\"comment/44\",[]],[\"name/45\",[41,39.253]],[\"comment/45\",[]],[\"name/46\",[42,39.253]],[\"comment/46\",[]],[\"name/47\",[43,39.253]],[\"comment/47\",[]],[\"name/48\",[22,18.884]],[\"comment/48\",[]],[\"name/49\",[44,39.253]],[\"comment/49\",[]],[\"name/50\",[45,39.253]],[\"comment/50\",[]],[\"name/51\",[22,18.884]],[\"comment/51\",[]],[\"name/52\",[46,39.253]],[\"comment/52\",[]],[\"name/53\",[47,39.253]],[\"comment/53\",[]],[\"name/54\",[48,39.253]],[\"comment/54\",[]],[\"name/55\",[49,39.253]],[\"comment/55\",[]],[\"name/56\",[50,39.253]],[\"comment/56\",[]],[\"name/57\",[51,39.253]],[\"comment/57\",[]],[\"name/58\",[22,18.884]],[\"comment/58\",[]],[\"name/59\",[52,39.253]],[\"comment/59\",[]],[\"name/60\",[53,39.253]],[\"comment/60\",[]],[\"name/61\",[54,39.253]],[\"comment/61\",[]],[\"name/62\",[22,18.884]],[\"comment/62\",[]],[\"name/63\",[55,39.253]],[\"comment/63\",[]],[\"name/64\",[22,18.884]],[\"comment/64\",[]],[\"name/65\",[56,39.253]],[\"comment/65\",[]],[\"name/66\",[57,39.253]],[\"comment/66\",[]],[\"name/67\",[58,39.253]],[\"comment/67\",[]],[\"name/68\",[59,39.253]],[\"comment/68\",[]],[\"name/69\",[22,18.884]],[\"comment/69\",[]],[\"name/70\",[60,39.253]],[\"comment/70\",[]],[\"name/71\",[61,39.253]],[\"comment/71\",[]],[\"name/72\",[62,39.253]],[\"comment/72\",[]],[\"name/73\",[63,39.253]],[\"comment/73\",[]],[\"name/74\",[64,39.253]],[\"comment/74\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":22,\"name\":{\"22\":{},\"24\":{},\"26\":{},\"30\":{},\"33\":{},\"48\":{},\"51\":{},\"58\":{},\"62\":{},\"64\":{},\"69\":{}},\"comment\":{}}],[\"allowexponents\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"allowfloats\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"allowinfinity\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"allownan\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"cancel\",{\"_index\":54,\"name\":{\"61\":{}},\"comment\":{}}],[\"cap\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"capitalize\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"coalesce\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"ensurearray\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"ensureerror\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"flush\",{\"_index\":55,\"name\":{\"63\":{}},\"comment\":{}}],[\"get\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"getmultiple\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"getmultiplesource\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"getsource\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"insertseparator\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"introduction\",{\"_index\":64,\"name\":{\"74\":{}},\"comment\":{}}],[\"isempty\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"isnumericstring\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"isnumericstringoptions\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"isplainobject\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"last\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"leading\",{\"_index\":57,\"name\":{\"66\":{}},\"comment\":{}}],[\"mapasync\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"mapvalues\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"mapvaluesfn\",{\"_index\":23,\"name\":{\"23\":{}},\"comment\":{}}],[\"mapvaluesunset\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"match\",{\"_index\":24,\"name\":{\"25\":{}},\"comment\":{}}],[\"matchcallback\",{\"_index\":27,\"name\":{\"29\":{}},\"comment\":{}}],[\"matched\",{\"_index\":25,\"name\":{\"27\":{}},\"comment\":{}}],[\"merge\",{\"_index\":28,\"name\":{\"31\":{}},\"comment\":{}}],[\"mergeunset\",{\"_index\":29,\"name\":{\"32\":{}},\"comment\":{}}],[\"mostfrequent\",{\"_index\":30,\"name\":{\"34\":{}},\"comment\":{}}],[\"noop\",{\"_index\":31,\"name\":{\"35\":{}},\"comment\":{}}],[\"occurencesoptions\",{\"_index\":33,\"name\":{\"37\":{}},\"comment\":{}}],[\"occurrences\",{\"_index\":32,\"name\":{\"36\":{}},\"comment\":{}}],[\"omit\",{\"_index\":35,\"name\":{\"39\":{}},\"comment\":{}}],[\"overlap\",{\"_index\":34,\"name\":{\"38\":{}},\"comment\":{}}],[\"pick\",{\"_index\":36,\"name\":{\"40\":{}},\"comment\":{}}],[\"pull\",{\"_index\":37,\"name\":{\"41\":{}},\"comment\":{}}],[\"remove\",{\"_index\":38,\"name\":{\"42\":{}},\"comment\":{}}],[\"rethrow\",{\"_index\":39,\"name\":{\"43\":{}},\"comment\":{}}],[\"scale\",{\"_index\":40,\"name\":{\"44\":{}},\"comment\":{}}],[\"seq\",{\"_index\":41,\"name\":{\"45\":{}},\"comment\":{}}],[\"seqearlybreak\",{\"_index\":42,\"name\":{\"46\":{}},\"comment\":{}}],[\"seqearlybreaker\",{\"_index\":43,\"name\":{\"47\":{}},\"comment\":{}}],[\"seqfn\",{\"_index\":45,\"name\":{\"50\":{}},\"comment\":{}}],[\"seqfunctions\",{\"_index\":44,\"name\":{\"49\":{}},\"comment\":{}}],[\"set\",{\"_index\":46,\"name\":{\"52\":{}},\"comment\":{}}],[\"setimmutable\",{\"_index\":48,\"name\":{\"54\":{}},\"comment\":{}}],[\"setimmutablepath\",{\"_index\":49,\"name\":{\"55\":{}},\"comment\":{}}],[\"setimmutablesource\",{\"_index\":50,\"name\":{\"56\":{}},\"comment\":{}}],[\"setsource\",{\"_index\":47,\"name\":{\"53\":{}},\"comment\":{}}],[\"sortby\",{\"_index\":51,\"name\":{\"57\":{}},\"comment\":{}}],[\"throttle\",{\"_index\":52,\"name\":{\"59\":{}},\"comment\":{}}],[\"throttledfunction\",{\"_index\":59,\"name\":{\"68\":{}},\"comment\":{}}],[\"throttledfunctionextras\",{\"_index\":53,\"name\":{\"60\":{}},\"comment\":{}}],[\"throttleoptions\",{\"_index\":56,\"name\":{\"65\":{}},\"comment\":{}}],[\"trailing\",{\"_index\":58,\"name\":{\"67\":{}},\"comment\":{}}],[\"truthy\",{\"_index\":60,\"name\":{\"70\":{}},\"comment\":{}}],[\"unmatched\",{\"_index\":26,\"name\":{\"28\":{}},\"comment\":{}}],[\"wait\",{\"_index\":61,\"name\":{\"71\":{}},\"comment\":{}}],[\"waitfor\",{\"_index\":62,\"name\":{\"72\":{}},\"comment\":{}}],[\"waitsync\",{\"_index\":63,\"name\":{\"73\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
1
+ window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"256\":\"Interface\",\"1024\":\"Property\",\"65536\":\"Type literal\",\"4194304\":\"Type alias\",\"33554432\":\"@knodes/typedoc-plugin-pages: page\"},\"rows\":[{\"kind\":64,\"name\":\"ensurePrefix\",\"url\":\"functions/ensurePrefix.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureSuffix\",\"url\":\"functions/ensureSuffix.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"cap\",\"url\":\"functions/cap.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"capitalize\",\"url\":\"functions/capitalize.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"coalesce\",\"url\":\"functions/coalesce.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureArray\",\"url\":\"functions/ensureArray.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureDate\",\"url\":\"functions/ensureDate.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureError\",\"url\":\"functions/ensureError.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"ensureTimestamp\",\"url\":\"functions/ensureTimestamp.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"get\",\"url\":\"functions/get.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"GetSource\",\"url\":\"interfaces/GetSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"getMultiple\",\"url\":\"functions/getMultiple.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"GetMultipleSource\",\"url\":\"interfaces/GetMultipleSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"insertSeparator\",\"url\":\"functions/insertSeparator.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"isEmpty\",\"url\":\"functions/isEmpty.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"isNumericString\",\"url\":\"functions/isNumericString.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"IsNumericStringOptions\",\"url\":\"interfaces/IsNumericStringOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"allowFloats\",\"url\":\"interfaces/IsNumericStringOptions.html#allowFloats\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowExponents\",\"url\":\"interfaces/IsNumericStringOptions.html#allowExponents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowInfinity\",\"url\":\"interfaces/IsNumericStringOptions.html#allowInfinity\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":1024,\"name\":\"allowNaN\",\"url\":\"interfaces/IsNumericStringOptions.html#allowNaN\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IsNumericStringOptions\"},{\"kind\":64,\"name\":\"isPlainObject\",\"url\":\"functions/isPlainObject.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"last\",\"url\":\"functions/last.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"mapAsync\",\"url\":\"functions/mapAsync.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"mapValues\",\"url\":\"functions/mapValues.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":32,\"name\":\"mapValuesUNSET\",\"url\":\"variables/mapValuesUNSET.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/mapValuesUNSET.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"mapValuesUNSET\"},{\"kind\":4194304,\"name\":\"MapValuesFn\",\"url\":\"types/MapValuesFn.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MapValuesFn.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MapValuesFn\"},{\"kind\":64,\"name\":\"match\",\"url\":\"functions/match.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/match.html#match.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"match.match\"},{\"kind\":1024,\"name\":\"matched\",\"url\":\"functions/match.html#match.__type.matched\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"match.match.__type\"},{\"kind\":1024,\"name\":\"unmatched\",\"url\":\"functions/match.html#match.__type.unmatched\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"match.match.__type\"},{\"kind\":4194304,\"name\":\"MatchCallback\",\"url\":\"types/MatchCallback.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MatchCallback.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MatchCallback\"},{\"kind\":64,\"name\":\"merge\",\"url\":\"functions/merge.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":32,\"name\":\"mergeUNSET\",\"url\":\"variables/mergeUNSET.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/mergeUNSET.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"mergeUNSET\"},{\"kind\":64,\"name\":\"mostFrequent\",\"url\":\"functions/mostFrequent.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"noop\",\"url\":\"functions/noop.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"occurrences\",\"url\":\"functions/occurrences.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"OccurencesOptions\",\"url\":\"interfaces/OccurencesOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"overlap\",\"url\":\"interfaces/OccurencesOptions.html#overlap\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"OccurencesOptions\"},{\"kind\":64,\"name\":\"omit\",\"url\":\"functions/omit.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"pick\",\"url\":\"functions/pick.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"pull\",\"url\":\"functions/pull.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"remove\",\"url\":\"functions/remove.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"rethrow\",\"url\":\"functions/rethrow.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"scale\",\"url\":\"functions/scale.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"seq\",\"url\":\"functions/seq.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"seqEarlyBreak\",\"url\":\"functions/seqEarlyBreak.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"SeqEarlyBreaker\",\"url\":\"types/SeqEarlyBreaker.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/SeqEarlyBreaker.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"SeqEarlyBreaker\"},{\"kind\":4194304,\"name\":\"SeqFunctions\",\"url\":\"types/SeqFunctions.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"SeqFn\",\"url\":\"types/SeqFn.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/SeqFn.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"SeqFn\"},{\"kind\":64,\"name\":\"set\",\"url\":\"functions/set.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"SetSource\",\"url\":\"interfaces/SetSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"setImmutable\",\"url\":\"functions/setImmutable.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"SetImmutablePath\",\"url\":\"types/SetImmutablePath.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"SetImmutableSource\",\"url\":\"interfaces/SetImmutableSource.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":64,\"name\":\"sortBy\",\"url\":\"functions/sortBy.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/sortBy.html#sortBy.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"sortBy.sortBy\"},{\"kind\":64,\"name\":\"stripPrefix\",\"url\":\"functions/stripPrefix.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"stripSuffix\",\"url\":\"functions/stripSuffix.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"throttle\",\"url\":\"functions/throttle.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":256,\"name\":\"ThrottledFunctionExtras\",\"url\":\"interfaces/ThrottledFunctionExtras.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"cancel\",\"url\":\"interfaces/ThrottledFunctionExtras.html#cancel\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottledFunctionExtras\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/ThrottledFunctionExtras.html#cancel.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ThrottledFunctionExtras.cancel\"},{\"kind\":1024,\"name\":\"flush\",\"url\":\"interfaces/ThrottledFunctionExtras.html#flush\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottledFunctionExtras\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/ThrottledFunctionExtras.html#flush.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ThrottledFunctionExtras.flush\"},{\"kind\":256,\"name\":\"ThrottleOptions\",\"url\":\"interfaces/ThrottleOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"leading\",\"url\":\"interfaces/ThrottleOptions.html#leading\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottleOptions\"},{\"kind\":1024,\"name\":\"trailing\",\"url\":\"interfaces/ThrottleOptions.html#trailing\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ThrottleOptions\"},{\"kind\":4194304,\"name\":\"ThrottledFunction\",\"url\":\"types/ThrottledFunction.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ThrottledFunction.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ThrottledFunction\"},{\"kind\":64,\"name\":\"truthy\",\"url\":\"functions/truthy.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"wait\",\"url\":\"functions/wait.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"waitFor\",\"url\":\"functions/waitFor.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"waitSync\",\"url\":\"functions/waitSync.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":33554432,\"name\":\"Introduction\",\"url\":\"pages/Introduction.html\",\"classes\":\"pages-entry pages-entry-page\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,40.013]],[\"comment/0\",[]],[\"name/1\",[1,40.013]],[\"comment/1\",[]],[\"name/2\",[2,40.013]],[\"comment/2\",[]],[\"name/3\",[3,40.013]],[\"comment/3\",[]],[\"name/4\",[4,40.013]],[\"comment/4\",[]],[\"name/5\",[5,40.013]],[\"comment/5\",[]],[\"name/6\",[6,40.013]],[\"comment/6\",[]],[\"name/7\",[7,40.013]],[\"comment/7\",[]],[\"name/8\",[8,40.013]],[\"comment/8\",[]],[\"name/9\",[9,40.013]],[\"comment/9\",[]],[\"name/10\",[10,40.013]],[\"comment/10\",[]],[\"name/11\",[11,40.013]],[\"comment/11\",[]],[\"name/12\",[12,40.013]],[\"comment/12\",[]],[\"name/13\",[13,40.013]],[\"comment/13\",[]],[\"name/14\",[14,40.013]],[\"comment/14\",[]],[\"name/15\",[15,40.013]],[\"comment/15\",[]],[\"name/16\",[16,40.013]],[\"comment/16\",[]],[\"name/17\",[17,40.013]],[\"comment/17\",[]],[\"name/18\",[18,40.013]],[\"comment/18\",[]],[\"name/19\",[19,40.013]],[\"comment/19\",[]],[\"name/20\",[20,40.013]],[\"comment/20\",[]],[\"name/21\",[21,40.013]],[\"comment/21\",[]],[\"name/22\",[22,40.013]],[\"comment/22\",[]],[\"name/23\",[23,40.013]],[\"comment/23\",[]],[\"name/24\",[24,40.013]],[\"comment/24\",[]],[\"name/25\",[25,40.013]],[\"comment/25\",[]],[\"name/26\",[26,19.644]],[\"comment/26\",[]],[\"name/27\",[27,40.013]],[\"comment/27\",[]],[\"name/28\",[26,19.644]],[\"comment/28\",[]],[\"name/29\",[28,40.013]],[\"comment/29\",[]],[\"name/30\",[26,19.644]],[\"comment/30\",[]],[\"name/31\",[29,40.013]],[\"comment/31\",[]],[\"name/32\",[30,40.013]],[\"comment/32\",[]],[\"name/33\",[31,40.013]],[\"comment/33\",[]],[\"name/34\",[26,19.644]],[\"comment/34\",[]],[\"name/35\",[32,40.013]],[\"comment/35\",[]],[\"name/36\",[33,40.013]],[\"comment/36\",[]],[\"name/37\",[26,19.644]],[\"comment/37\",[]],[\"name/38\",[34,40.013]],[\"comment/38\",[]],[\"name/39\",[35,40.013]],[\"comment/39\",[]],[\"name/40\",[36,40.013]],[\"comment/40\",[]],[\"name/41\",[37,40.013]],[\"comment/41\",[]],[\"name/42\",[38,40.013]],[\"comment/42\",[]],[\"name/43\",[39,40.013]],[\"comment/43\",[]],[\"name/44\",[40,40.013]],[\"comment/44\",[]],[\"name/45\",[41,40.013]],[\"comment/45\",[]],[\"name/46\",[42,40.013]],[\"comment/46\",[]],[\"name/47\",[43,40.013]],[\"comment/47\",[]],[\"name/48\",[44,40.013]],[\"comment/48\",[]],[\"name/49\",[45,40.013]],[\"comment/49\",[]],[\"name/50\",[46,40.013]],[\"comment/50\",[]],[\"name/51\",[47,40.013]],[\"comment/51\",[]],[\"name/52\",[26,19.644]],[\"comment/52\",[]],[\"name/53\",[48,40.013]],[\"comment/53\",[]],[\"name/54\",[49,40.013]],[\"comment/54\",[]],[\"name/55\",[26,19.644]],[\"comment/55\",[]],[\"name/56\",[50,40.013]],[\"comment/56\",[]],[\"name/57\",[51,40.013]],[\"comment/57\",[]],[\"name/58\",[52,40.013]],[\"comment/58\",[]],[\"name/59\",[53,40.013]],[\"comment/59\",[]],[\"name/60\",[54,40.013]],[\"comment/60\",[]],[\"name/61\",[55,40.013]],[\"comment/61\",[]],[\"name/62\",[26,19.644]],[\"comment/62\",[]],[\"name/63\",[56,40.013]],[\"comment/63\",[]],[\"name/64\",[57,40.013]],[\"comment/64\",[]],[\"name/65\",[58,40.013]],[\"comment/65\",[]],[\"name/66\",[59,40.013]],[\"comment/66\",[]],[\"name/67\",[60,40.013]],[\"comment/67\",[]],[\"name/68\",[26,19.644]],[\"comment/68\",[]],[\"name/69\",[61,40.013]],[\"comment/69\",[]],[\"name/70\",[26,19.644]],[\"comment/70\",[]],[\"name/71\",[62,40.013]],[\"comment/71\",[]],[\"name/72\",[63,40.013]],[\"comment/72\",[]],[\"name/73\",[64,40.013]],[\"comment/73\",[]],[\"name/74\",[65,40.013]],[\"comment/74\",[]],[\"name/75\",[26,19.644]],[\"comment/75\",[]],[\"name/76\",[66,40.013]],[\"comment/76\",[]],[\"name/77\",[67,40.013]],[\"comment/77\",[]],[\"name/78\",[68,40.013]],[\"comment/78\",[]],[\"name/79\",[69,40.013]],[\"comment/79\",[]],[\"name/80\",[70,40.013]],[\"comment/80\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":26,\"name\":{\"26\":{},\"28\":{},\"30\":{},\"34\":{},\"37\":{},\"52\":{},\"55\":{},\"62\":{},\"68\":{},\"70\":{},\"75\":{}},\"comment\":{}}],[\"allowexponents\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"allowfloats\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"allowinfinity\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"allownan\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"cancel\",{\"_index\":60,\"name\":{\"67\":{}},\"comment\":{}}],[\"cap\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"capitalize\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"coalesce\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"ensurearray\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"ensuredate\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"ensureerror\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"ensureprefix\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"ensuresuffix\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"ensuretimestamp\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"flush\",{\"_index\":61,\"name\":{\"69\":{}},\"comment\":{}}],[\"get\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"getmultiple\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"getmultiplesource\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"getsource\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"insertseparator\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"introduction\",{\"_index\":70,\"name\":{\"80\":{}},\"comment\":{}}],[\"isempty\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"isnumericstring\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"isnumericstringoptions\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"isplainobject\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"last\",{\"_index\":22,\"name\":{\"22\":{}},\"comment\":{}}],[\"leading\",{\"_index\":63,\"name\":{\"72\":{}},\"comment\":{}}],[\"mapasync\",{\"_index\":23,\"name\":{\"23\":{}},\"comment\":{}}],[\"mapvalues\",{\"_index\":24,\"name\":{\"24\":{}},\"comment\":{}}],[\"mapvaluesfn\",{\"_index\":27,\"name\":{\"27\":{}},\"comment\":{}}],[\"mapvaluesunset\",{\"_index\":25,\"name\":{\"25\":{}},\"comment\":{}}],[\"match\",{\"_index\":28,\"name\":{\"29\":{}},\"comment\":{}}],[\"matchcallback\",{\"_index\":31,\"name\":{\"33\":{}},\"comment\":{}}],[\"matched\",{\"_index\":29,\"name\":{\"31\":{}},\"comment\":{}}],[\"merge\",{\"_index\":32,\"name\":{\"35\":{}},\"comment\":{}}],[\"mergeunset\",{\"_index\":33,\"name\":{\"36\":{}},\"comment\":{}}],[\"mostfrequent\",{\"_index\":34,\"name\":{\"38\":{}},\"comment\":{}}],[\"noop\",{\"_index\":35,\"name\":{\"39\":{}},\"comment\":{}}],[\"occurencesoptions\",{\"_index\":37,\"name\":{\"41\":{}},\"comment\":{}}],[\"occurrences\",{\"_index\":36,\"name\":{\"40\":{}},\"comment\":{}}],[\"omit\",{\"_index\":39,\"name\":{\"43\":{}},\"comment\":{}}],[\"overlap\",{\"_index\":38,\"name\":{\"42\":{}},\"comment\":{}}],[\"pick\",{\"_index\":40,\"name\":{\"44\":{}},\"comment\":{}}],[\"pull\",{\"_index\":41,\"name\":{\"45\":{}},\"comment\":{}}],[\"remove\",{\"_index\":42,\"name\":{\"46\":{}},\"comment\":{}}],[\"rethrow\",{\"_index\":43,\"name\":{\"47\":{}},\"comment\":{}}],[\"scale\",{\"_index\":44,\"name\":{\"48\":{}},\"comment\":{}}],[\"seq\",{\"_index\":45,\"name\":{\"49\":{}},\"comment\":{}}],[\"seqearlybreak\",{\"_index\":46,\"name\":{\"50\":{}},\"comment\":{}}],[\"seqearlybreaker\",{\"_index\":47,\"name\":{\"51\":{}},\"comment\":{}}],[\"seqfn\",{\"_index\":49,\"name\":{\"54\":{}},\"comment\":{}}],[\"seqfunctions\",{\"_index\":48,\"name\":{\"53\":{}},\"comment\":{}}],[\"set\",{\"_index\":50,\"name\":{\"56\":{}},\"comment\":{}}],[\"setimmutable\",{\"_index\":52,\"name\":{\"58\":{}},\"comment\":{}}],[\"setimmutablepath\",{\"_index\":53,\"name\":{\"59\":{}},\"comment\":{}}],[\"setimmutablesource\",{\"_index\":54,\"name\":{\"60\":{}},\"comment\":{}}],[\"setsource\",{\"_index\":51,\"name\":{\"57\":{}},\"comment\":{}}],[\"sortby\",{\"_index\":55,\"name\":{\"61\":{}},\"comment\":{}}],[\"stripprefix\",{\"_index\":56,\"name\":{\"63\":{}},\"comment\":{}}],[\"stripsuffix\",{\"_index\":57,\"name\":{\"64\":{}},\"comment\":{}}],[\"throttle\",{\"_index\":58,\"name\":{\"65\":{}},\"comment\":{}}],[\"throttledfunction\",{\"_index\":65,\"name\":{\"74\":{}},\"comment\":{}}],[\"throttledfunctionextras\",{\"_index\":59,\"name\":{\"66\":{}},\"comment\":{}}],[\"throttleoptions\",{\"_index\":62,\"name\":{\"71\":{}},\"comment\":{}}],[\"trailing\",{\"_index\":64,\"name\":{\"73\":{}},\"comment\":{}}],[\"truthy\",{\"_index\":66,\"name\":{\"76\":{}},\"comment\":{}}],[\"unmatched\",{\"_index\":30,\"name\":{\"32\":{}},\"comment\":{}}],[\"wait\",{\"_index\":67,\"name\":{\"77\":{}},\"comment\":{}}],[\"waitfor\",{\"_index\":68,\"name\":{\"78\":{}},\"comment\":{}}],[\"waitsync\",{\"_index\":69,\"name\":{\"79\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>cap | @ezez/utils - v1.1.0</title><meta name="description" content="Documentation for @ezez/utils - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>cap | @ezez/utils - v1.2.0</title><meta name="description" content="Documentation for @ezez/utils - v1.2.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.1.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.2.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">@ezez/utils - v1.1.0</a></li>
15
+ <li><a href="../modules.html">@ezez/utils - v1.2.0</a></li>
16
16
  <li><a href="cap.html">cap</a></li></ul>
17
17
  <h1>Function cap</h1></div>
18
18
  <section class="tsd-panel">
@@ -38,7 +38,7 @@
38
38
  </div></li></ul></div>
39
39
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
40
40
  <ul>
41
- <li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/5697b5c/src/cap.ts#L7">cap.ts:7</a></li></ul></aside></li></ul></section></div>
41
+ <li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/cap.ts#L7">cap.ts:7</a></li></ul></aside></li></ul></section></div>
42
42
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
43
43
  <div class="tsd-navigation settings">
44
44
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -58,7 +58,7 @@
58
58
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
59
59
  <div class="tsd-accordion-details">
60
60
  <ul>
61
- <li><a href="../modules.html">@ezez/utils -<wbr/> v1.1.0</a>
61
+ <li><a href="../modules.html">@ezez/utils -<wbr/> v1.2.0</a>
62
62
  <ul>
63
63
  <li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li></ul></li></ul></div></details></nav>
64
64
  <nav class="tsd-navigation secondary menu-sticky">
@@ -84,7 +84,11 @@
84
84
  <li class="tsd-kind-function"><a href="capitalize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>capitalize</a></li>
85
85
  <li class="tsd-kind-function"><a href="coalesce.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>coalesce</a></li>
86
86
  <li class="tsd-kind-function"><a href="ensureArray.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Array</a></li>
87
+ <li class="tsd-kind-function"><a href="ensureDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Date</a></li>
87
88
  <li class="tsd-kind-function"><a href="ensureError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Error</a></li>
89
+ <li class="tsd-kind-function"><a href="ensurePrefix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Prefix</a></li>
90
+ <li class="tsd-kind-function"><a href="ensureSuffix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Suffix</a></li>
91
+ <li class="tsd-kind-function"><a href="ensureTimestamp.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Timestamp</a></li>
88
92
  <li class="tsd-kind-function"><a href="get.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>get</a></li>
89
93
  <li class="tsd-kind-function"><a href="getMultiple.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>get<wbr/>Multiple</a></li>
90
94
  <li class="tsd-kind-function"><a href="insertSeparator.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>insert<wbr/>Separator</a></li>
@@ -110,6 +114,8 @@
110
114
  <li class="tsd-kind-function"><a href="set.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>set</a></li>
111
115
  <li class="tsd-kind-function"><a href="setImmutable.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>set<wbr/>Immutable</a></li>
112
116
  <li class="tsd-kind-function"><a href="sortBy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>sort<wbr/>By</a></li>
117
+ <li class="tsd-kind-function"><a href="stripPrefix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>strip<wbr/>Prefix</a></li>
118
+ <li class="tsd-kind-function"><a href="stripSuffix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>strip<wbr/>Suffix</a></li>
113
119
  <li class="tsd-kind-function"><a href="throttle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>throttle</a></li>
114
120
  <li class="tsd-kind-function"><a href="truthy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>truthy</a></li>
115
121
  <li class="tsd-kind-function"><a href="wait.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait</a></li>