@ezez/utils 1.1.0 → 1.4.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/.github/workflows/docs.yml +50 -0
- package/CHANGELOG.md +22 -0
- package/README.md +45 -20
- package/dist/ensureDate.d.ts +3 -0
- package/dist/ensureDate.d.ts.map +1 -0
- package/dist/ensureDate.js +11 -0
- package/dist/ensureDate.js.map +1 -0
- package/dist/ensureError.d.ts.map +1 -1
- package/dist/ensureError.js.map +1 -1
- package/dist/ensurePrefix.d.ts +3 -0
- package/dist/ensurePrefix.d.ts.map +1 -0
- package/dist/ensurePrefix.js +11 -0
- package/dist/ensurePrefix.js.map +1 -0
- package/dist/ensureSuffix.d.ts +3 -0
- package/dist/ensureSuffix.d.ts.map +1 -0
- package/dist/ensureSuffix.js +11 -0
- package/dist/ensureSuffix.js.map +1 -0
- package/dist/ensureTimestamp.d.ts +3 -0
- package/dist/ensureTimestamp.d.ts.map +1 -0
- package/dist/ensureTimestamp.js +11 -0
- package/dist/ensureTimestamp.js.map +1 -0
- package/dist/escapeRegExp.d.ts +3 -0
- package/dist/escapeRegExp.d.ts.map +1 -0
- package/dist/escapeRegExp.js +8 -0
- package/dist/escapeRegExp.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/isPlainObject.d.ts.map +1 -1
- package/dist/isPlainObject.js.map +1 -1
- package/dist/replace.d.ts +3 -0
- package/dist/replace.d.ts.map +1 -0
- package/dist/replace.js +10 -0
- package/dist/replace.js.map +1 -0
- package/dist/safe.d.ts +4 -0
- package/dist/safe.d.ts.map +1 -0
- package/dist/safe.js +13 -0
- package/dist/safe.js.map +1 -0
- package/dist/sortProps.d.ts +3 -0
- package/dist/sortProps.d.ts.map +1 -0
- package/dist/sortProps.js +19 -0
- package/dist/sortProps.js.map +1 -0
- package/dist/stripPrefix.d.ts +3 -0
- package/dist/stripPrefix.d.ts.map +1 -0
- package/dist/stripPrefix.js +11 -0
- package/dist/stripPrefix.js.map +1 -0
- package/dist/stripSuffix.d.ts +3 -0
- package/dist/stripSuffix.d.ts.map +1 -0
- package/dist/stripSuffix.js +11 -0
- package/dist/stripSuffix.js.map +1 -0
- package/docs/assets/highlight.css +14 -0
- package/docs/assets/main.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +4 -5
- package/docs/functions/cap.html +17 -6
- package/docs/functions/capitalize.html +17 -6
- package/docs/functions/coalesce.html +19 -9
- package/docs/functions/ensureArray.html +18 -7
- package/docs/functions/ensureDate.html +131 -0
- package/docs/functions/ensureError.html +27 -6
- package/docs/functions/ensurePrefix.html +133 -0
- package/docs/functions/ensureSuffix.html +133 -0
- package/docs/functions/ensureTimestamp.html +131 -0
- package/docs/functions/escapeRegExp.html +127 -0
- package/docs/functions/get.html +17 -6
- package/docs/functions/getMultiple.html +17 -6
- package/docs/functions/insertSeparator.html +17 -6
- package/docs/functions/isEmpty.html +17 -6
- package/docs/functions/isNumericString.html +17 -6
- package/docs/functions/isPlainObject.html +32 -6
- package/docs/functions/last.html +17 -6
- package/docs/functions/mapAsync.html +17 -6
- package/docs/functions/mapValues.html +17 -6
- package/docs/functions/match.html +17 -6
- package/docs/functions/merge.html +25 -14
- package/docs/functions/mostFrequent.html +17 -6
- package/docs/functions/noop.html +17 -6
- package/docs/functions/occurrences.html +17 -6
- package/docs/functions/omit.html +17 -6
- package/docs/functions/pick.html +17 -6
- package/docs/functions/pull.html +17 -6
- package/docs/functions/remove.html +17 -6
- package/docs/functions/replace.html +133 -0
- package/docs/functions/rethrow.html +17 -6
- package/docs/functions/safe.html +171 -0
- package/docs/functions/scale.html +17 -6
- package/docs/functions/seq.html +17 -6
- package/docs/functions/seqEarlyBreak.html +17 -6
- package/docs/functions/set.html +17 -6
- package/docs/functions/setImmutable.html +17 -6
- package/docs/functions/sortBy.html +17 -6
- package/docs/functions/sortProps.html +136 -0
- package/docs/functions/stripPrefix.html +127 -0
- package/docs/functions/stripSuffix.html +127 -0
- package/docs/functions/throttle.html +17 -6
- package/docs/functions/truthy.html +17 -6
- package/docs/functions/wait.html +17 -6
- package/docs/functions/waitFor.html +17 -6
- package/docs/functions/waitSync.html +17 -6
- package/docs/index.html +92 -25
- package/docs/interfaces/GetMultipleSource.html +17 -6
- package/docs/interfaces/GetSource.html +17 -6
- package/docs/interfaces/IsNumericStringOptions.html +11 -10
- package/docs/interfaces/OccurencesOptions.html +8 -7
- package/docs/interfaces/SetImmutableSource.html +17 -6
- package/docs/interfaces/SetSource.html +17 -6
- package/docs/interfaces/ThrottleOptions.html +9 -8
- package/docs/interfaces/ThrottledFunctionExtras.html +9 -8
- package/docs/modules.html +26 -5
- package/docs/pages/CHANGELOG.html +764 -0
- package/docs/pages/Introduction.html +16 -5
- package/docs/types/MapValuesFn.html +17 -6
- package/docs/types/MatchCallback.html +17 -6
- package/docs/types/SeqEarlyBreaker.html +17 -6
- package/docs/types/SeqFn.html +17 -6
- package/docs/types/SeqFunctions.html +17 -6
- package/docs/types/SetImmutablePath.html +17 -6
- package/docs/types/ThrottledFunction.html +17 -6
- package/docs/variables/mapValuesUNSET.html +17 -6
- package/docs/variables/mergeUNSET.html +17 -6
- package/esm/ensureDate.d.ts +3 -0
- package/esm/ensureDate.d.ts.map +1 -0
- package/esm/ensureDate.js +8 -0
- package/esm/ensureDate.js.map +1 -0
- package/esm/ensureError.d.ts.map +1 -1
- package/esm/ensureError.js.map +1 -1
- package/esm/ensurePrefix.d.ts +3 -0
- package/esm/ensurePrefix.d.ts.map +1 -0
- package/esm/ensurePrefix.js +8 -0
- package/esm/ensurePrefix.js.map +1 -0
- package/esm/ensureSuffix.d.ts +3 -0
- package/esm/ensureSuffix.d.ts.map +1 -0
- package/esm/ensureSuffix.js +8 -0
- package/esm/ensureSuffix.js.map +1 -0
- package/esm/ensureTimestamp.d.ts +3 -0
- package/esm/ensureTimestamp.d.ts.map +1 -0
- package/esm/ensureTimestamp.js +8 -0
- package/esm/ensureTimestamp.js.map +1 -0
- package/esm/escapeRegExp.d.ts +3 -0
- package/esm/escapeRegExp.d.ts.map +1 -0
- package/esm/escapeRegExp.js +5 -0
- package/esm/escapeRegExp.js.map +1 -0
- package/esm/index.d.ts +10 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +10 -0
- package/esm/index.js.map +1 -1
- package/esm/isPlainObject.d.ts.map +1 -1
- package/esm/isPlainObject.js.map +1 -1
- package/esm/replace.d.ts +3 -0
- package/esm/replace.d.ts.map +1 -0
- package/esm/replace.js +7 -0
- package/esm/replace.js.map +1 -0
- package/esm/safe.d.ts +4 -0
- package/esm/safe.d.ts.map +1 -0
- package/esm/safe.js +10 -0
- package/esm/safe.js.map +1 -0
- package/esm/sortProps.d.ts +3 -0
- package/esm/sortProps.d.ts.map +1 -0
- package/esm/sortProps.js +16 -0
- package/esm/sortProps.js.map +1 -0
- package/esm/stripPrefix.d.ts +3 -0
- package/esm/stripPrefix.d.ts.map +1 -0
- package/esm/stripPrefix.js +8 -0
- package/esm/stripPrefix.js.map +1 -0
- package/esm/stripSuffix.d.ts +3 -0
- package/esm/stripSuffix.d.ts.map +1 -0
- package/esm/stripSuffix.js +8 -0
- package/esm/stripSuffix.js.map +1 -0
- package/package.json +23 -23
- package/src/coalesce.ts +2 -2
- package/src/ensureArray.ts +1 -1
- package/src/ensureDate.spec.ts +13 -0
- package/src/ensureDate.ts +18 -0
- package/src/ensureError.ts +7 -0
- package/src/ensurePrefix.spec.ts +11 -0
- package/src/ensurePrefix.ts +18 -0
- package/src/ensureSuffix.spec.ts +11 -0
- package/src/ensureSuffix.ts +18 -0
- package/src/ensureTimestamp.spec.ts +11 -0
- package/src/ensureTimestamp.ts +18 -0
- package/src/escapeRegExp.spec.ts +31 -0
- package/src/escapeRegExp.ts +17 -0
- package/src/index.ts +10 -0
- package/src/isPlainObject.spec.ts +0 -7
- package/src/isPlainObject.ts +5 -0
- package/src/replace.spec.ts +22 -0
- package/src/replace.ts +19 -0
- package/src/safe.spec.ts +52 -0
- package/src/safe.ts +24 -0
- package/src/sortProps.spec.ts +20 -0
- package/src/sortProps.ts +21 -0
- package/src/stripPrefix.spec.ts +13 -0
- package/src/stripPrefix.ts +15 -0
- package/src/stripSuffix.spec.ts +13 -0
- package/src/stripSuffix.ts +16 -0
- package/typedoc.cjs +5 -0
|
@@ -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>waitFor | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>waitFor | @ezez/utils - v1.4.0</title><meta name="description" content="Documentation for @ezez/utils - v1.4.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.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.4.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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.4.0</a></li>
|
|
16
16
|
<li><a href="waitFor.html">waitFor</a></li></ul>
|
|
17
17
|
<h1>Function waitFor</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -52,7 +52,7 @@ wrap your potential return value with an object or array.</p>
|
|
|
52
52
|
</div></li></ul></div>
|
|
53
53
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
54
54
|
<ul>
|
|
55
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
55
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/5cc56c9/src/waitFor.ts#L15">waitFor.ts:15</a></li></ul></aside></li></ul></section></div>
|
|
56
56
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
57
57
|
<div class="tsd-navigation settings">
|
|
58
58
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -72,9 +72,10 @@ wrap your potential return value with an object or array.</p>
|
|
|
72
72
|
<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>
|
|
73
73
|
<div class="tsd-accordion-details">
|
|
74
74
|
<ul>
|
|
75
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
75
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.4.0</a>
|
|
76
76
|
<ul>
|
|
77
|
-
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li
|
|
77
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
78
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
78
79
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
79
80
|
<ul>
|
|
80
81
|
<li class="tsd-kind-interface"><a href="../interfaces/GetMultipleSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Get<wbr/>Multiple<wbr/>Source</a></li>
|
|
@@ -98,7 +99,12 @@ wrap your potential return value with an object or array.</p>
|
|
|
98
99
|
<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>
|
|
99
100
|
<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>
|
|
100
101
|
<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>
|
|
102
|
+
<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>
|
|
101
103
|
<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>
|
|
104
|
+
<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>
|
|
105
|
+
<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>
|
|
106
|
+
<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>
|
|
107
|
+
<li class="tsd-kind-function"><a href="escapeRegExp.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>escape<wbr/>Reg<wbr/>Exp</a></li>
|
|
102
108
|
<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>
|
|
103
109
|
<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>
|
|
104
110
|
<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>
|
|
@@ -117,13 +123,18 @@ wrap your potential return value with an object or array.</p>
|
|
|
117
123
|
<li class="tsd-kind-function"><a href="pick.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>pick</a></li>
|
|
118
124
|
<li class="tsd-kind-function"><a href="pull.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>pull</a></li>
|
|
119
125
|
<li class="tsd-kind-function"><a href="remove.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>remove</a></li>
|
|
126
|
+
<li class="tsd-kind-function"><a href="replace.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>replace</a></li>
|
|
120
127
|
<li class="tsd-kind-function"><a href="rethrow.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>rethrow</a></li>
|
|
128
|
+
<li class="tsd-kind-function"><a href="safe.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>safe</a></li>
|
|
121
129
|
<li class="tsd-kind-function"><a href="scale.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>scale</a></li>
|
|
122
130
|
<li class="tsd-kind-function"><a href="seq.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>seq</a></li>
|
|
123
131
|
<li class="tsd-kind-function"><a href="seqEarlyBreak.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>seq<wbr/>Early<wbr/>Break</a></li>
|
|
124
132
|
<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>
|
|
125
133
|
<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>
|
|
126
134
|
<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>
|
|
135
|
+
<li class="tsd-kind-function"><a href="sortProps.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/>Props</a></li>
|
|
136
|
+
<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>
|
|
137
|
+
<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>
|
|
127
138
|
<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>
|
|
128
139
|
<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>
|
|
129
140
|
<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>
|
|
@@ -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>waitSync | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>waitSync | @ezez/utils - v1.4.0</title><meta name="description" content="Documentation for @ezez/utils - v1.4.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.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.4.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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.4.0</a></li>
|
|
16
16
|
<li><a href="waitSync.html">waitSync</a></li></ul>
|
|
17
17
|
<h1>Function waitSync</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</div></li></ul></div>
|
|
32
32
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
33
33
|
<ul>
|
|
34
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
34
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/5cc56c9/src/waitSync.ts#L6">waitSync.ts:6</a></li></ul></aside></li></ul></section></div>
|
|
35
35
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
36
36
|
<div class="tsd-navigation settings">
|
|
37
37
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -51,9 +51,10 @@
|
|
|
51
51
|
<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>
|
|
52
52
|
<div class="tsd-accordion-details">
|
|
53
53
|
<ul>
|
|
54
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
54
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.4.0</a>
|
|
55
55
|
<ul>
|
|
56
|
-
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li
|
|
56
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
57
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
57
58
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
58
59
|
<ul>
|
|
59
60
|
<li class="tsd-kind-interface"><a href="../interfaces/GetMultipleSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Get<wbr/>Multiple<wbr/>Source</a></li>
|
|
@@ -77,7 +78,12 @@
|
|
|
77
78
|
<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>
|
|
78
79
|
<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>
|
|
79
80
|
<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>
|
|
81
|
+
<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>
|
|
80
82
|
<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>
|
|
83
|
+
<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>
|
|
84
|
+
<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>
|
|
85
|
+
<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>
|
|
86
|
+
<li class="tsd-kind-function"><a href="escapeRegExp.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>escape<wbr/>Reg<wbr/>Exp</a></li>
|
|
81
87
|
<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>
|
|
82
88
|
<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>
|
|
83
89
|
<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>
|
|
@@ -96,13 +102,18 @@
|
|
|
96
102
|
<li class="tsd-kind-function"><a href="pick.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>pick</a></li>
|
|
97
103
|
<li class="tsd-kind-function"><a href="pull.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>pull</a></li>
|
|
98
104
|
<li class="tsd-kind-function"><a href="remove.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>remove</a></li>
|
|
105
|
+
<li class="tsd-kind-function"><a href="replace.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>replace</a></li>
|
|
99
106
|
<li class="tsd-kind-function"><a href="rethrow.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>rethrow</a></li>
|
|
107
|
+
<li class="tsd-kind-function"><a href="safe.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>safe</a></li>
|
|
100
108
|
<li class="tsd-kind-function"><a href="scale.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>scale</a></li>
|
|
101
109
|
<li class="tsd-kind-function"><a href="seq.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>seq</a></li>
|
|
102
110
|
<li class="tsd-kind-function"><a href="seqEarlyBreak.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>seq<wbr/>Early<wbr/>Break</a></li>
|
|
103
111
|
<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>
|
|
104
112
|
<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>
|
|
105
113
|
<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>
|
|
114
|
+
<li class="tsd-kind-function"><a href="sortProps.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/>Props</a></li>
|
|
115
|
+
<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>
|
|
116
|
+
<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>
|
|
106
117
|
<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>
|
|
107
118
|
<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>
|
|
108
119
|
<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>
|
package/docs/index.html
CHANGED
|
@@ -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>@ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@ezez/utils - v1.4.0</title><meta name="description" content="Documentation for @ezez/utils - v1.4.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,12 +6,12 @@
|
|
|
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.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@ezez/utils - v1.4.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
|
-
<h2>@ezez/utils - v1.
|
|
14
|
+
<h2>@ezez/utils - v1.4.0</h2></div>
|
|
15
15
|
<div class="tsd-panel tsd-typography">
|
|
16
16
|
<a href="#ezezutils" id="ezezutils" style="color: inherit; text-decoration: none;">
|
|
17
17
|
<h1>@ezez/utils</h1>
|
|
@@ -50,41 +50,97 @@ object, with just some properties copied. Easy, right? Few lines of code? Lodash
|
|
|
50
50
|
<a href="#supported-methods" id="supported-methods" style="color: inherit; text-decoration: none;">
|
|
51
51
|
<h2>Supported methods</h2>
|
|
52
52
|
</a>
|
|
53
|
+
|
|
54
|
+
<a href="#string-related" id="string-related" style="color: inherit; text-decoration: none;">
|
|
55
|
+
<h3>String related</h3>
|
|
56
|
+
</a>
|
|
53
57
|
<ul>
|
|
54
|
-
<li><code>
|
|
58
|
+
<li><code>addPrefix</code> - add prefix to a string if not already present</li>
|
|
59
|
+
<li><code>addSuffix</code> - add suffix to a string if not already present</li>
|
|
55
60
|
<li><code>capitalize</code> - capitalize a string, optionally lower casing the rest</li>
|
|
56
|
-
<li><code>
|
|
61
|
+
<li><code>isNumericString</code> - check if given value is a numeric string, features configurable</li>
|
|
62
|
+
<li><code>occurrences</code> - count occurrences of a substring in a string, optionally allow overlapping</li>
|
|
63
|
+
<li><code>replace</code> - replace all occurrences of a substring using a map of replacements</li>
|
|
64
|
+
<li><code>stripPrefix</code> - strip prefix from a string</li>
|
|
65
|
+
<li><code>stripSuffix</code> - strip suffix from a string</li>
|
|
66
|
+
</ul>
|
|
67
|
+
|
|
68
|
+
<a href="#number-related" id="number-related" style="color: inherit; text-decoration: none;">
|
|
69
|
+
<h3>Number related</h3>
|
|
70
|
+
</a>
|
|
71
|
+
<ul>
|
|
72
|
+
<li><code>cap</code> - cap a value between lower and upper bound</li>
|
|
73
|
+
<li><code>scale</code> - scale given value from old range to new range</li>
|
|
74
|
+
</ul>
|
|
75
|
+
|
|
76
|
+
<a href="#array-related" id="array-related" style="color: inherit; text-decoration: none;">
|
|
77
|
+
<h3>Array related</h3>
|
|
78
|
+
</a>
|
|
79
|
+
<ul>
|
|
57
80
|
<li><code>ensureArray</code> - ensure that given value is an array</li>
|
|
58
|
-
<li><code>ensureError</code> - ensure that given value is an error</li>
|
|
59
|
-
<li><code>get</code> - extract a value from a deep object using specified path, optionally with a default value</li>
|
|
60
|
-
<li><code>getMultiple</code> - same as above, but test multiple paths</li>
|
|
61
81
|
<li><code>insertSeparator</code> - insert a separator between every character in an array</li>
|
|
62
|
-
<li><code>isEmpty</code> - check if given value is empty</li>
|
|
63
|
-
<li><code>isPlainObject</code> - check if given value is a plain object</li>
|
|
64
|
-
<li><code>isNumericString</code> - check if given value is a numeric string, features configurable</li>
|
|
65
82
|
<li><code>last</code> - get last element of an array</li>
|
|
66
|
-
<li><code>mapAsync</code> - map an array asynchronously if sync version blocks your event loop for too long</li>
|
|
67
|
-
<li><code>mapValues</code> - map values of an object</li>
|
|
68
83
|
<li><code>match</code> - split your array into two groups - one that matches given predicate, and one that doesn't</li>
|
|
69
|
-
<li><code>merge</code> - merge two objects shallowly, allowing to remove properties while doing so</li>
|
|
70
84
|
<li><code>mostFrequent</code> - find most frequent value in an array</li>
|
|
71
|
-
<li><code>noop</code> - do nothing</li>
|
|
72
|
-
<li><code>occurrences</code> - count occurrences of a substring in a string, optionally allow overlapping</li>
|
|
73
|
-
<li><code>omit</code> - omit properties from an object</li>
|
|
74
|
-
<li><code>pick</code> - pick some properties from an object</li>
|
|
75
85
|
<li><code>pull</code> - remove values from an array (by mutating)</li>
|
|
76
86
|
<li><code>remove</code> - remove values from an array (by mutating) using predicate function and return removed values</li>
|
|
87
|
+
<li><code>sortBy</code> - sort an array by given property (create callback function for <code>Array.prototype.sort</code>)</li>
|
|
88
|
+
</ul>
|
|
89
|
+
|
|
90
|
+
<a href="#object-related" id="object-related" style="color: inherit; text-decoration: none;">
|
|
91
|
+
<h3>Object related</h3>
|
|
92
|
+
</a>
|
|
93
|
+
<ul>
|
|
94
|
+
<li><code>isPlainObject</code> - check if given value is a plain object</li>
|
|
95
|
+
<li><code>mapValues</code> - map values of an object</li>
|
|
96
|
+
<li><code>merge</code> - merge two objects shallowly, allowing to remove properties while doing so</li>
|
|
97
|
+
<li><code>omit</code> - omit properties from an object</li>
|
|
98
|
+
<li><code>pick</code> - pick some properties from an object</li>
|
|
99
|
+
<li><code>sortProps</code> - sort object properties by key</li>
|
|
100
|
+
</ul>
|
|
101
|
+
|
|
102
|
+
<a href="#date-related" id="date-related" style="color: inherit; text-decoration: none;">
|
|
103
|
+
<h3>Date related</h3>
|
|
104
|
+
</a>
|
|
105
|
+
<ul>
|
|
106
|
+
<li><code>ensureDate</code> - ensure that given value is a Date instance</li>
|
|
107
|
+
<li><code>ensureTimestamp</code> - ensure that given value is a numeric timestamp</li>
|
|
108
|
+
</ul>
|
|
109
|
+
|
|
110
|
+
<a href="#typedata-safety" id="typedata-safety" style="color: inherit; text-decoration: none;">
|
|
111
|
+
<h3>Type/data safety</h3>
|
|
112
|
+
</a>
|
|
113
|
+
<ul>
|
|
114
|
+
<li><code>coalesce</code> - return first non-nullish value</li>
|
|
115
|
+
<li><code>ensureError</code> - ensure that given value is an error</li>
|
|
116
|
+
<li><code>escapeRegExp</code> - escape a string to be used in a regular expression</li>
|
|
117
|
+
<li><code>safe</code> - runs function and returns its result or default value if function throws an error</li>
|
|
118
|
+
</ul>
|
|
119
|
+
|
|
120
|
+
<a href="#flow-related" id="flow-related" style="color: inherit; text-decoration: none;">
|
|
121
|
+
<h3>Flow related</h3>
|
|
122
|
+
</a>
|
|
123
|
+
<ul>
|
|
124
|
+
<li><code>mapAsync</code> - map an array asynchronously if sync version blocks your event loop for too long</li>
|
|
125
|
+
<li><code>noop</code> - do nothing</li>
|
|
77
126
|
<li><code>rethrow</code> - throw given value</li>
|
|
78
|
-
<li><code>scale</code> - scale given value from old range to new range</li>
|
|
79
127
|
<li><code>seq</code> - sequentially execute Promise-returning functions until one returns a value</li>
|
|
128
|
+
<li><code>wait</code> - wait given amount of time (async)</li>
|
|
129
|
+
<li><code>waitSync</code> - wait given amount of time (sync)</li>
|
|
130
|
+
<li><code>waitFor</code> - wait for a condition to be true, checking every given amount of time</li>
|
|
131
|
+
</ul>
|
|
132
|
+
|
|
133
|
+
<a href="#various" id="various" style="color: inherit; text-decoration: none;">
|
|
134
|
+
<h3>Various</h3>
|
|
135
|
+
</a>
|
|
136
|
+
<ul>
|
|
137
|
+
<li><code>get</code> - extract a value from a deep object using specified path, optionally with a default value</li>
|
|
138
|
+
<li><code>getMultiple</code> - same as above, but test multiple paths</li>
|
|
80
139
|
<li><code>set</code> - set a value in a deep object using specified path</li>
|
|
81
140
|
<li><code>setImmutable</code> - set a value in a deep object using specified path, but return a new object</li>
|
|
82
|
-
<li><code>
|
|
141
|
+
<li><code>isEmpty</code> - check if given value is empty</li>
|
|
83
142
|
<li><code>throttle</code> - throttle a function, very configurable</li>
|
|
84
143
|
<li><code>truthy</code> - is value truthy? (useful for filtering with more correct TypeScript support than <code>filter(Boolean)</code>)</li>
|
|
85
|
-
<li><code>wait</code> - wait given amount of time (async)</li>
|
|
86
|
-
<li><code>waitSync</code> - wait given amount of time (sync)</li>
|
|
87
|
-
<li><code>waitFor</code> - wait for a condition to be true, checking every given amount of time</li>
|
|
88
144
|
</ul>
|
|
89
145
|
<p>Methods will be added as I need them. I am open for suggestions and PRs. See next heading for list of methods that I
|
|
90
146
|
want to add.</p>
|
|
@@ -126,9 +182,10 @@ want to add.</p>
|
|
|
126
182
|
<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>
|
|
127
183
|
<div class="tsd-accordion-details">
|
|
128
184
|
<ul>
|
|
129
|
-
<li class="current selected"><a href="modules.html">@ezez/utils -<wbr/> v1.
|
|
185
|
+
<li class="current selected"><a href="modules.html">@ezez/utils -<wbr/> v1.4.0</a>
|
|
130
186
|
<ul>
|
|
131
|
-
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="pages/Introduction.html">Introduction</a></li
|
|
187
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="pages/Introduction.html">Introduction</a></li>
|
|
188
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
132
189
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
133
190
|
<ul>
|
|
134
191
|
<li class="tsd-kind-interface"><a href="interfaces/GetMultipleSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Get<wbr/>Multiple<wbr/>Source</a></li>
|
|
@@ -152,7 +209,12 @@ want to add.</p>
|
|
|
152
209
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
153
210
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
154
211
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
212
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
155
213
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
214
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
215
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
216
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
217
|
+
<li class="tsd-kind-function"><a href="functions/escapeRegExp.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>escape<wbr/>Reg<wbr/>Exp</a></li>
|
|
156
218
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
157
219
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
158
220
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
@@ -171,13 +233,18 @@ want to add.</p>
|
|
|
171
233
|
<li class="tsd-kind-function"><a href="functions/pick.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>pick</a></li>
|
|
172
234
|
<li class="tsd-kind-function"><a href="functions/pull.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>pull</a></li>
|
|
173
235
|
<li class="tsd-kind-function"><a href="functions/remove.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>remove</a></li>
|
|
236
|
+
<li class="tsd-kind-function"><a href="functions/replace.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>replace</a></li>
|
|
174
237
|
<li class="tsd-kind-function"><a href="functions/rethrow.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>rethrow</a></li>
|
|
238
|
+
<li class="tsd-kind-function"><a href="functions/safe.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>safe</a></li>
|
|
175
239
|
<li class="tsd-kind-function"><a href="functions/scale.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>scale</a></li>
|
|
176
240
|
<li class="tsd-kind-function"><a href="functions/seq.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>seq</a></li>
|
|
177
241
|
<li class="tsd-kind-function"><a href="functions/seqEarlyBreak.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>seq<wbr/>Early<wbr/>Break</a></li>
|
|
178
242
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
179
243
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
180
244
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
245
|
+
<li class="tsd-kind-function"><a href="functions/sortProps.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/>Props</a></li>
|
|
246
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
247
|
+
<li class="tsd-kind-function"><a href="functions/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>
|
|
181
248
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
182
249
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
183
250
|
<li class="tsd-kind-function"><a href="functions/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>
|
|
@@ -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>GetMultipleSource | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GetMultipleSource | @ezez/utils - v1.4.0</title><meta name="description" content="Documentation for @ezez/utils - v1.4.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.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.4.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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.4.0</a></li>
|
|
16
16
|
<li><a href="GetMultipleSource.html">GetMultipleSource</a></li></ul>
|
|
17
17
|
<h1>Interface GetMultipleSource</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-comment">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<h4 class="tsd-before-signature">Indexable</h4>
|
|
29
29
|
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">unknown</span></div></section><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/5cc56c9/src/getMultiple.ts#L8">getMultiple.ts:8</a></li></ul></aside></div>
|
|
32
32
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
33
|
<div class="tsd-navigation settings">
|
|
34
34
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -48,9 +48,10 @@
|
|
|
48
48
|
<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>
|
|
49
49
|
<div class="tsd-accordion-details">
|
|
50
50
|
<ul>
|
|
51
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
51
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.4.0</a>
|
|
52
52
|
<ul>
|
|
53
|
-
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li
|
|
53
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
54
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
54
55
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
55
56
|
<ul>
|
|
56
57
|
<li class="current tsd-kind-interface"><a href="GetMultipleSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Get<wbr/>Multiple<wbr/>Source</a></li>
|
|
@@ -74,7 +75,12 @@
|
|
|
74
75
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
75
76
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
76
77
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
78
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
77
79
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
80
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
81
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
82
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
83
|
+
<li class="tsd-kind-function"><a href="../functions/escapeRegExp.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>escape<wbr/>Reg<wbr/>Exp</a></li>
|
|
78
84
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
79
85
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
80
86
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
@@ -93,13 +99,18 @@
|
|
|
93
99
|
<li class="tsd-kind-function"><a href="../functions/pick.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>pick</a></li>
|
|
94
100
|
<li class="tsd-kind-function"><a href="../functions/pull.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>pull</a></li>
|
|
95
101
|
<li class="tsd-kind-function"><a href="../functions/remove.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>remove</a></li>
|
|
102
|
+
<li class="tsd-kind-function"><a href="../functions/replace.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>replace</a></li>
|
|
96
103
|
<li class="tsd-kind-function"><a href="../functions/rethrow.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>rethrow</a></li>
|
|
104
|
+
<li class="tsd-kind-function"><a href="../functions/safe.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>safe</a></li>
|
|
97
105
|
<li class="tsd-kind-function"><a href="../functions/scale.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>scale</a></li>
|
|
98
106
|
<li class="tsd-kind-function"><a href="../functions/seq.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>seq</a></li>
|
|
99
107
|
<li class="tsd-kind-function"><a href="../functions/seqEarlyBreak.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>seq<wbr/>Early<wbr/>Break</a></li>
|
|
100
108
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
101
109
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
102
110
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
111
|
+
<li class="tsd-kind-function"><a href="../functions/sortProps.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/>Props</a></li>
|
|
112
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
113
|
+
<li class="tsd-kind-function"><a href="../functions/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>
|
|
103
114
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
104
115
|
<li class="tsd-kind-function"><a href="../functions/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>
|
|
105
116
|
<li class="tsd-kind-function"><a href="../functions/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>
|