@ezez/utils 1.0.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.
- package/CHANGELOG.md +24 -8
- package/README.md +41 -18
- 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/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/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/isEmpty.js +1 -1
- package/dist/isEmpty.js.map +1 -1
- package/dist/isNumericString.d.ts +10 -0
- package/dist/isNumericString.d.ts.map +1 -0
- package/dist/isNumericString.js +61 -0
- package/dist/isNumericString.js.map +1 -0
- package/dist/occurrences.d.ts +7 -0
- package/dist/occurrences.d.ts.map +1 -0
- package/dist/occurrences.js +27 -0
- package/dist/occurrences.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/search.js +1 -1
- package/docs/functions/cap.html +15 -5
- package/docs/functions/capitalize.html +15 -5
- package/docs/functions/coalesce.html +15 -5
- package/docs/functions/ensureArray.html +15 -5
- package/docs/functions/ensureDate.html +126 -0
- package/docs/functions/ensureError.html +15 -5
- package/docs/functions/ensurePrefix.html +128 -0
- package/docs/functions/ensureSuffix.html +128 -0
- package/docs/functions/ensureTimestamp.html +126 -0
- package/docs/functions/get.html +15 -5
- package/docs/functions/getMultiple.html +15 -5
- package/docs/functions/insertSeparator.html +15 -5
- package/docs/functions/isEmpty.html +15 -5
- package/docs/functions/isNumericString.html +123 -0
- package/docs/functions/isPlainObject.html +15 -5
- package/docs/functions/last.html +15 -5
- package/docs/functions/mapAsync.html +15 -5
- package/docs/functions/mapValues.html +15 -5
- package/docs/functions/match.html +15 -5
- package/docs/functions/merge.html +23 -13
- package/docs/functions/mostFrequent.html +15 -5
- package/docs/functions/noop.html +15 -5
- package/docs/functions/occurrences.html +135 -0
- package/docs/functions/omit.html +15 -5
- package/docs/functions/pick.html +15 -5
- package/docs/functions/pull.html +15 -5
- package/docs/functions/remove.html +15 -5
- package/docs/functions/rethrow.html +15 -5
- package/docs/functions/scale.html +15 -5
- package/docs/functions/seq.html +15 -5
- package/docs/functions/seqEarlyBreak.html +15 -5
- package/docs/functions/set.html +15 -5
- package/docs/functions/setImmutable.html +15 -5
- package/docs/functions/sortBy.html +15 -5
- package/docs/functions/stripPrefix.html +122 -0
- package/docs/functions/stripSuffix.html +122 -0
- package/docs/functions/throttle.html +15 -5
- package/docs/functions/truthy.html +15 -5
- package/docs/functions/wait.html +15 -5
- package/docs/functions/waitFor.html +15 -5
- package/docs/functions/waitSync.html +15 -5
- package/docs/index.html +86 -22
- package/docs/interfaces/GetMultipleSource.html +15 -5
- package/docs/interfaces/GetSource.html +15 -5
- package/docs/interfaces/IsNumericStringOptions.html +90 -0
- package/docs/interfaces/OccurencesOptions.html +71 -0
- package/docs/interfaces/SetImmutableSource.html +15 -5
- package/docs/interfaces/SetSource.html +15 -5
- package/docs/interfaces/ThrottleOptions.html +7 -7
- package/docs/interfaces/ThrottledFunctionExtras.html +7 -7
- package/docs/modules.html +24 -4
- package/docs/pages/Introduction.html +14 -4
- package/docs/types/MapValuesFn.html +15 -5
- package/docs/types/MatchCallback.html +15 -5
- package/docs/types/SeqEarlyBreaker.html +15 -5
- package/docs/types/SeqFn.html +15 -5
- package/docs/types/SeqFunctions.html +15 -5
- package/docs/types/SetImmutablePath.html +15 -5
- package/docs/types/ThrottledFunction.html +15 -5
- package/docs/variables/mapValuesUNSET.html +15 -5
- package/docs/variables/mergeUNSET.html +15 -5
- 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/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/index.d.ts +8 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -1
- package/esm/isEmpty.js +1 -1
- package/esm/isEmpty.js.map +1 -1
- package/esm/isNumericString.d.ts +10 -0
- package/esm/isNumericString.d.ts.map +1 -0
- package/esm/isNumericString.js +58 -0
- package/esm/isNumericString.js.map +1 -0
- package/esm/occurrences.d.ts +7 -0
- package/esm/occurrences.d.ts.map +1 -0
- package/esm/occurrences.js +24 -0
- package/esm/occurrences.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 +1 -1
- package/src/ensureDate.spec.ts +13 -0
- package/src/ensureDate.ts +18 -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/index.ts +8 -0
- package/src/isEmpty.ts +1 -1
- package/src/isNumericString.spec.ts +100 -0
- package/src/isNumericString.ts +94 -0
- package/src/occurrences.spec.ts +20 -0
- package/src/occurrences.ts +53 -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
|
@@ -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>mapValues | @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>mapValues | @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.
|
|
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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.2.0</a></li>
|
|
16
16
|
<li><a href="mapValues.html">mapValues</a></li></ul>
|
|
17
17
|
<h1>Function mapValues</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -52,7 +52,7 @@ properties may be filtered out on returned object.</p>
|
|
|
52
52
|
</div></li></ul></div>
|
|
53
53
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[ </span><span class="tsd-signature-type">P</span><span class="tsd-signature-symbol"> in </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">PossibleReturnValues</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/7e9e170/src/mapValues.ts#L35">mapValues.ts:35</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,13 +72,15 @@ properties may be filtered out on returned object.</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.2.0</a>
|
|
76
76
|
<ul>
|
|
77
77
|
<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>
|
|
78
78
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
79
79
|
<ul>
|
|
80
80
|
<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>
|
|
81
81
|
<li class="tsd-kind-interface"><a href="../interfaces/GetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Source</a></li>
|
|
82
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IsNumericStringOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Is<wbr/>Numeric<wbr/>String<wbr/>Options</a></li>
|
|
83
|
+
<li class="tsd-kind-interface"><a href="../interfaces/OccurencesOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Occurences<wbr/>Options</a></li>
|
|
82
84
|
<li class="tsd-kind-interface"><a href="../interfaces/SetImmutableSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Immutable<wbr/>Source</a></li>
|
|
83
85
|
<li class="tsd-kind-interface"><a href="../interfaces/SetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Source</a></li>
|
|
84
86
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottleOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Throttle<wbr/>Options</a></li>
|
|
@@ -96,11 +98,16 @@ properties may be filtered out on returned object.</p>
|
|
|
96
98
|
<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>
|
|
97
99
|
<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>
|
|
98
100
|
<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>
|
|
101
|
+
<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>
|
|
99
102
|
<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>
|
|
103
|
+
<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>
|
|
104
|
+
<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>
|
|
105
|
+
<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>
|
|
100
106
|
<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>
|
|
101
107
|
<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>
|
|
102
108
|
<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>
|
|
103
109
|
<li class="tsd-kind-function"><a href="isEmpty.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>is<wbr/>Empty</a></li>
|
|
110
|
+
<li class="tsd-kind-function"><a href="isNumericString.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>is<wbr/>Numeric<wbr/>String</a></li>
|
|
104
111
|
<li class="tsd-kind-function"><a href="isPlainObject.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>is<wbr/>Plain<wbr/>Object</a></li>
|
|
105
112
|
<li class="tsd-kind-function"><a href="last.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>last</a></li>
|
|
106
113
|
<li class="tsd-kind-function"><a href="mapAsync.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>map<wbr/>Async</a></li>
|
|
@@ -109,6 +116,7 @@ properties may be filtered out on returned object.</p>
|
|
|
109
116
|
<li class="tsd-kind-function"><a href="merge.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>merge</a></li>
|
|
110
117
|
<li class="tsd-kind-function"><a href="mostFrequent.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>most<wbr/>Frequent</a></li>
|
|
111
118
|
<li class="tsd-kind-function"><a href="noop.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>noop</a></li>
|
|
119
|
+
<li class="tsd-kind-function"><a href="occurrences.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>occurrences</a></li>
|
|
112
120
|
<li class="tsd-kind-function"><a href="omit.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>omit</a></li>
|
|
113
121
|
<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>
|
|
114
122
|
<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>
|
|
@@ -120,6 +128,8 @@ properties may be filtered out on returned object.</p>
|
|
|
120
128
|
<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>
|
|
121
129
|
<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>
|
|
122
130
|
<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>
|
|
131
|
+
<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>
|
|
132
|
+
<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>
|
|
123
133
|
<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>
|
|
124
134
|
<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>
|
|
125
135
|
<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>match | @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>match | @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.
|
|
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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.2.0</a></li>
|
|
16
16
|
<li><a href="match.html">match</a></li></ul>
|
|
17
17
|
<h1>Function match</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<li class="tsd-parameter">
|
|
45
45
|
<h5>unmatched<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><aside class="tsd-sources">
|
|
46
46
|
<ul>
|
|
47
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
47
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/match.ts#L8">match.ts:8</a></li></ul></aside></li></ul></section></div>
|
|
48
48
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
49
49
|
<div class="tsd-navigation settings">
|
|
50
50
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -64,13 +64,15 @@
|
|
|
64
64
|
<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>
|
|
65
65
|
<div class="tsd-accordion-details">
|
|
66
66
|
<ul>
|
|
67
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
67
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.2.0</a>
|
|
68
68
|
<ul>
|
|
69
69
|
<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>
|
|
70
70
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
71
71
|
<ul>
|
|
72
72
|
<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>
|
|
73
73
|
<li class="tsd-kind-interface"><a href="../interfaces/GetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Source</a></li>
|
|
74
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IsNumericStringOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Is<wbr/>Numeric<wbr/>String<wbr/>Options</a></li>
|
|
75
|
+
<li class="tsd-kind-interface"><a href="../interfaces/OccurencesOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Occurences<wbr/>Options</a></li>
|
|
74
76
|
<li class="tsd-kind-interface"><a href="../interfaces/SetImmutableSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Immutable<wbr/>Source</a></li>
|
|
75
77
|
<li class="tsd-kind-interface"><a href="../interfaces/SetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Source</a></li>
|
|
76
78
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottleOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Throttle<wbr/>Options</a></li>
|
|
@@ -88,11 +90,16 @@
|
|
|
88
90
|
<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>
|
|
89
91
|
<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>
|
|
90
92
|
<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>
|
|
93
|
+
<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>
|
|
91
94
|
<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>
|
|
95
|
+
<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>
|
|
96
|
+
<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>
|
|
97
|
+
<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>
|
|
92
98
|
<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>
|
|
93
99
|
<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>
|
|
94
100
|
<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>
|
|
95
101
|
<li class="tsd-kind-function"><a href="isEmpty.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>is<wbr/>Empty</a></li>
|
|
102
|
+
<li class="tsd-kind-function"><a href="isNumericString.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>is<wbr/>Numeric<wbr/>String</a></li>
|
|
96
103
|
<li class="tsd-kind-function"><a href="isPlainObject.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>is<wbr/>Plain<wbr/>Object</a></li>
|
|
97
104
|
<li class="tsd-kind-function"><a href="last.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>last</a></li>
|
|
98
105
|
<li class="tsd-kind-function"><a href="mapAsync.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>map<wbr/>Async</a></li>
|
|
@@ -101,6 +108,7 @@
|
|
|
101
108
|
<li class="tsd-kind-function"><a href="merge.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>merge</a></li>
|
|
102
109
|
<li class="tsd-kind-function"><a href="mostFrequent.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>most<wbr/>Frequent</a></li>
|
|
103
110
|
<li class="tsd-kind-function"><a href="noop.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>noop</a></li>
|
|
111
|
+
<li class="tsd-kind-function"><a href="occurrences.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>occurrences</a></li>
|
|
104
112
|
<li class="tsd-kind-function"><a href="omit.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>omit</a></li>
|
|
105
113
|
<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>
|
|
106
114
|
<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>
|
|
@@ -112,6 +120,8 @@
|
|
|
112
120
|
<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>
|
|
113
121
|
<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>
|
|
114
122
|
<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>
|
|
123
|
+
<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>
|
|
124
|
+
<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>
|
|
115
125
|
<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>
|
|
116
126
|
<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>
|
|
117
127
|
<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>merge | @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>merge | @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.
|
|
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.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.2.0</a></li>
|
|
16
16
|
<li><a href="merge.html">merge</a></li></ul>
|
|
17
17
|
<h1>Function merge</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -44,7 +44,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
44
44
|
<h5>a: <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span></h5></li></ul></div>
|
|
45
45
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span></h4><aside class="tsd-sources">
|
|
46
46
|
<ul>
|
|
47
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
47
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L9">merge.ts:9</a></li></ul></aside></li>
|
|
48
48
|
<li class="tsd-signature tsd-anchor-link" id="merge-1">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><a href="#merge-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
49
49
|
<li class="tsd-description">
|
|
50
50
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -76,7 +76,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
76
76
|
<h5>b: <span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span></h5></li></ul></div>
|
|
77
77
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span></h4><aside class="tsd-sources">
|
|
78
78
|
<ul>
|
|
79
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
79
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L10">merge.ts:10</a></li></ul></aside></li>
|
|
80
80
|
<li class="tsd-signature tsd-anchor-link" id="merge-2">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><a href="#merge-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
81
81
|
<li class="tsd-description">
|
|
82
82
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -112,7 +112,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
112
112
|
<h5>c: <span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span></h5></li></ul></div>
|
|
113
113
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span></h4><aside class="tsd-sources">
|
|
114
114
|
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
115
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L11">merge.ts:11</a></li></ul></aside></li>
|
|
116
116
|
<li class="tsd-signature tsd-anchor-link" id="merge-3">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><a href="#merge-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
117
117
|
<li class="tsd-description">
|
|
118
118
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -152,7 +152,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
152
152
|
<h5>d: <span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span></h5></li></ul></div>
|
|
153
153
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span></h4><aside class="tsd-sources">
|
|
154
154
|
<ul>
|
|
155
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
155
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L12">merge.ts:12</a></li></ul></aside></li>
|
|
156
156
|
<li class="tsd-signature tsd-anchor-link" id="merge-4">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span>, e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><a href="#merge-4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
157
157
|
<li class="tsd-description">
|
|
158
158
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -196,7 +196,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
196
196
|
<h5>e: <span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span></h5></li></ul></div>
|
|
197
197
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span></h4><aside class="tsd-sources">
|
|
198
198
|
<ul>
|
|
199
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
199
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L13">merge.ts:13</a></li></ul></aside></li>
|
|
200
200
|
<li class="tsd-signature tsd-anchor-link" id="merge-5">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span>, e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><a href="#merge-5" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
201
201
|
<li class="tsd-description">
|
|
202
202
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -244,7 +244,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
244
244
|
<h5>f: <span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span></h5></li></ul></div>
|
|
245
245
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span></h4><aside class="tsd-sources">
|
|
246
246
|
<ul>
|
|
247
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
247
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L14">merge.ts:14</a></li></ul></aside></li>
|
|
248
248
|
<li class="tsd-signature tsd-anchor-link" id="merge-6">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span>, e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span>, g<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><a href="#merge-6" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
249
249
|
<li class="tsd-description">
|
|
250
250
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -296,7 +296,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
296
296
|
<h5>g: <span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span></h5></li></ul></div>
|
|
297
297
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span></h4><aside class="tsd-sources">
|
|
298
298
|
<ul>
|
|
299
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
299
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L15">merge.ts:15</a></li></ul></aside></li>
|
|
300
300
|
<li class="tsd-signature tsd-anchor-link" id="merge-7">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">H</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span>, e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span>, g<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span>, h<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">H</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">H</span><a href="#merge-7" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
301
301
|
<li class="tsd-description">
|
|
302
302
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -352,7 +352,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
352
352
|
<h5>h: <span class="tsd-signature-type" data-tsd-kind="Type parameter">H</span></h5></li></ul></div>
|
|
353
353
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">C</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">D</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">E</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">F</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">G</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">H</span></h4><aside class="tsd-sources">
|
|
354
354
|
<ul>
|
|
355
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
355
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L16">merge.ts:16</a></li></ul></aside></li>
|
|
356
356
|
<li class="tsd-signature tsd-anchor-link" id="merge-8">merge<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">A</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">B</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span><a href="#merge-8" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
357
357
|
<li class="tsd-description">
|
|
358
358
|
<div class="tsd-comment tsd-typography"><p>Shallow merges given objects into new object. It does not mutate any object given. Allows removing properties as
|
|
@@ -386,7 +386,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
386
386
|
</div></li></ul></div>
|
|
387
387
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4><aside class="tsd-sources">
|
|
388
388
|
<ul>
|
|
389
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
389
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/7e9e170/src/merge.ts#L17">merge.ts:17</a></li></ul></aside></li></ul></section></div>
|
|
390
390
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
391
391
|
<div class="tsd-navigation settings">
|
|
392
392
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -406,13 +406,15 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
406
406
|
<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>
|
|
407
407
|
<div class="tsd-accordion-details">
|
|
408
408
|
<ul>
|
|
409
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
409
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.2.0</a>
|
|
410
410
|
<ul>
|
|
411
411
|
<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>
|
|
412
412
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
413
413
|
<ul>
|
|
414
414
|
<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>
|
|
415
415
|
<li class="tsd-kind-interface"><a href="../interfaces/GetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Source</a></li>
|
|
416
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IsNumericStringOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Is<wbr/>Numeric<wbr/>String<wbr/>Options</a></li>
|
|
417
|
+
<li class="tsd-kind-interface"><a href="../interfaces/OccurencesOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Occurences<wbr/>Options</a></li>
|
|
416
418
|
<li class="tsd-kind-interface"><a href="../interfaces/SetImmutableSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Immutable<wbr/>Source</a></li>
|
|
417
419
|
<li class="tsd-kind-interface"><a href="../interfaces/SetSource.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Source</a></li>
|
|
418
420
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottleOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Throttle<wbr/>Options</a></li>
|
|
@@ -430,11 +432,16 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
430
432
|
<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>
|
|
431
433
|
<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>
|
|
432
434
|
<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>
|
|
435
|
+
<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>
|
|
433
436
|
<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>
|
|
437
|
+
<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>
|
|
438
|
+
<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>
|
|
439
|
+
<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>
|
|
434
440
|
<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>
|
|
435
441
|
<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>
|
|
436
442
|
<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>
|
|
437
443
|
<li class="tsd-kind-function"><a href="isEmpty.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>is<wbr/>Empty</a></li>
|
|
444
|
+
<li class="tsd-kind-function"><a href="isNumericString.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>is<wbr/>Numeric<wbr/>String</a></li>
|
|
438
445
|
<li class="tsd-kind-function"><a href="isPlainObject.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>is<wbr/>Plain<wbr/>Object</a></li>
|
|
439
446
|
<li class="tsd-kind-function"><a href="last.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>last</a></li>
|
|
440
447
|
<li class="tsd-kind-function"><a href="mapAsync.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>map<wbr/>Async</a></li>
|
|
@@ -443,6 +450,7 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
443
450
|
<li class="current tsd-kind-function"><a href="merge.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>merge</a></li>
|
|
444
451
|
<li class="tsd-kind-function"><a href="mostFrequent.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>most<wbr/>Frequent</a></li>
|
|
445
452
|
<li class="tsd-kind-function"><a href="noop.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>noop</a></li>
|
|
453
|
+
<li class="tsd-kind-function"><a href="occurrences.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>occurrences</a></li>
|
|
446
454
|
<li class="tsd-kind-function"><a href="omit.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>omit</a></li>
|
|
447
455
|
<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>
|
|
448
456
|
<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>
|
|
@@ -454,6 +462,8 @@ well by assigning special <code>mergeUNSET</code> value.</p>
|
|
|
454
462
|
<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>
|
|
455
463
|
<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>
|
|
456
464
|
<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>
|
|
465
|
+
<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>
|
|
466
|
+
<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>
|
|
457
467
|
<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>
|
|
458
468
|
<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>
|
|
459
469
|
<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>
|