@ezez/utils 1.9.0 → 2.1.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 +14 -1
- package/README.md +4 -0
- package/dist/deserialize.d.ts +13 -0
- package/dist/deserialize.d.ts.map +1 -0
- package/dist/deserialize.js +42 -0
- package/dist/deserialize.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/omit.js +3 -1
- package/dist/omit.js.map +1 -1
- package/dist/replace.d.ts.map +1 -1
- package/dist/replace.js.map +1 -1
- package/dist/replaceDeep.d.ts +3 -0
- package/dist/replaceDeep.d.ts.map +1 -0
- package/dist/replaceDeep.js +26 -0
- package/dist/replaceDeep.js.map +1 -0
- package/dist/round.d.ts +3 -0
- package/dist/round.d.ts.map +1 -0
- package/dist/round.js +9 -0
- package/dist/round.js.map +1 -0
- package/dist/safe.d.ts.map +1 -1
- package/dist/safe.js +1 -1
- package/dist/safe.js.map +1 -1
- package/dist/serialize.d.ts +16 -0
- package/dist/serialize.d.ts.map +1 -0
- package/dist/serialize.js +61 -0
- package/dist/serialize.js.map +1 -0
- package/dist/setImmutable.js +1 -1
- package/dist/setImmutable.js.map +1 -1
- package/dist/sortBy.js +1 -2
- package/dist/sortBy.js.map +1 -1
- package/dist/sortProps.d.ts.map +1 -1
- package/dist/sortProps.js.map +1 -1
- package/dist/throttle.js +5 -7
- package/dist/throttle.js.map +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/functions/cap.html +12 -6
- package/docs/functions/capitalize.html +12 -6
- package/docs/functions/coalesce.html +12 -6
- package/docs/functions/compareArrays.html +12 -6
- package/docs/functions/compareProps.html +12 -6
- package/docs/functions/deserialize.html +149 -0
- package/docs/functions/ensureArray.html +12 -6
- package/docs/functions/ensureDate.html +12 -6
- package/docs/functions/ensureError.html +12 -6
- package/docs/functions/ensurePrefix.html +12 -6
- package/docs/functions/ensureSuffix.html +12 -6
- package/docs/functions/ensureTimestamp.html +12 -6
- package/docs/functions/escapeRegExp.html +12 -6
- package/docs/functions/formatDate.html +12 -6
- package/docs/functions/get.html +12 -6
- package/docs/functions/getMultiple.html +12 -6
- package/docs/functions/insertSeparator.html +12 -6
- package/docs/functions/isEmpty.html +12 -6
- package/docs/functions/isNumericString.html +12 -6
- package/docs/functions/isPlainObject.html +12 -6
- package/docs/functions/last.html +12 -6
- package/docs/functions/later-1.html +12 -6
- package/docs/functions/mapAsync.html +12 -6
- package/docs/functions/mapValues.html +12 -6
- package/docs/functions/match.html +12 -6
- package/docs/functions/merge.html +20 -14
- package/docs/functions/mostFrequent.html +12 -6
- package/docs/functions/noop.html +12 -6
- package/docs/functions/occurrences.html +12 -6
- package/docs/functions/omit.html +12 -6
- package/docs/functions/pick.html +12 -6
- package/docs/functions/pull.html +12 -6
- package/docs/functions/remove.html +12 -6
- package/docs/functions/removeCommonProperties.html +12 -6
- package/docs/functions/replace.html +12 -6
- package/docs/functions/replaceDeep.html +154 -0
- package/docs/functions/rethrow.html +12 -6
- package/docs/functions/round.html +144 -0
- package/docs/functions/safe.html +13 -7
- package/docs/functions/scale.html +12 -6
- package/docs/functions/seq.html +12 -6
- package/docs/functions/seqEarlyBreak.html +12 -6
- package/docs/functions/serialize.html +154 -0
- package/docs/functions/set.html +12 -6
- package/docs/functions/setImmutable.html +12 -6
- package/docs/functions/sortBy.html +12 -6
- package/docs/functions/sortProps.html +15 -7
- package/docs/functions/stripPrefix.html +12 -6
- package/docs/functions/stripSuffix.html +12 -6
- package/docs/functions/throttle.html +12 -6
- package/docs/functions/truthy.html +12 -6
- package/docs/functions/unique.html +12 -6
- package/docs/functions/wait.html +12 -6
- package/docs/functions/waitFor.html +12 -6
- package/docs/functions/waitSync.html +12 -6
- package/docs/index.html +15 -5
- package/docs/interfaces/ComparePropsOptions.html +6 -6
- package/docs/interfaces/GetMultipleSource.html +12 -6
- package/docs/interfaces/GetSource.html +12 -6
- package/docs/interfaces/IsNumericStringOptions.html +9 -9
- package/docs/interfaces/OccurencesOptions.html +6 -6
- package/docs/interfaces/SetImmutableSource.html +12 -6
- package/docs/interfaces/SetSource.html +12 -6
- package/docs/interfaces/ThrottleOptions.html +7 -7
- package/docs/interfaces/ThrottledFunctionExtras.html +7 -7
- package/docs/modules.html +17 -5
- package/docs/pages/CHANGELOG.html +77 -39
- package/docs/pages/Introduction.html +11 -5
- package/docs/types/CustomDeserializers.html +152 -0
- package/docs/types/CustomSerializers.html +152 -0
- package/docs/types/Later.html +12 -6
- package/docs/types/MapValuesFn.html +12 -6
- package/docs/types/MatchCallback.html +12 -6
- package/docs/types/SeqEarlyBreaker.html +12 -6
- package/docs/types/SeqFn.html +12 -6
- package/docs/types/SeqFunctions.html +12 -6
- package/docs/types/SetImmutablePath.html +12 -6
- package/docs/types/ThrottledFunction.html +12 -6
- package/docs/variables/mapValuesUNSET.html +12 -6
- package/docs/variables/mergeUNSET.html +12 -6
- package/esm/deserialize.d.ts +13 -0
- package/esm/deserialize.d.ts.map +1 -0
- package/esm/deserialize.js +39 -0
- package/esm/deserialize.js.map +1 -0
- package/esm/index.d.ts +4 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -0
- package/esm/index.js.map +1 -1
- package/esm/replace.d.ts.map +1 -1
- package/esm/replace.js.map +1 -1
- package/esm/replaceDeep.d.ts +3 -0
- package/esm/replaceDeep.d.ts.map +1 -0
- package/esm/replaceDeep.js +23 -0
- package/esm/replaceDeep.js.map +1 -0
- package/esm/round.d.ts +3 -0
- package/esm/round.d.ts.map +1 -0
- package/esm/round.js +6 -0
- package/esm/round.js.map +1 -0
- package/esm/safe.d.ts.map +1 -1
- package/esm/safe.js.map +1 -1
- package/esm/serialize.d.ts +16 -0
- package/esm/serialize.d.ts.map +1 -0
- package/esm/serialize.js +58 -0
- package/esm/serialize.js.map +1 -0
- package/esm/sortBy.js +1 -2
- package/esm/sortBy.js.map +1 -1
- package/esm/sortProps.d.ts.map +1 -1
- package/esm/sortProps.js.map +1 -1
- package/esm/throttle.js +5 -7
- package/esm/throttle.js.map +1 -1
- package/package.json +26 -25
- package/pnpm-lock.yaml +5223 -0
- package/src/deserialize.spec.ts +69 -0
- package/src/deserialize.ts +74 -0
- package/src/index.ts +4 -0
- package/src/replace.ts +0 -1
- package/src/replaceDeep.spec.ts +71 -0
- package/src/replaceDeep.ts +44 -0
- package/src/round.spec.ts +27 -0
- package/src/round.ts +21 -0
- package/src/safe.ts +0 -1
- package/src/serialize.spec.ts +83 -0
- package/src/serialize.ts +102 -0
- package/src/sortProps.ts +4 -1
- package/babel.config.cjs +0 -6
|
@@ -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>compareArrays | @ezez/utils -
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>compareArrays | @ezez/utils - v2.1.0</title><meta name="description" content="Documentation for @ezez/utils - v2.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
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 -
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v2.1.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 -
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v2.1.0</a></li>
|
|
16
16
|
<li><a href="compareArrays.html">compareArrays</a></li></ul>
|
|
17
17
|
<h1>Function compareArrays</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -51,7 +51,7 @@ both - items that exists in both arrays</p>
|
|
|
51
51
|
<li class="tsd-parameter">
|
|
52
52
|
<h5>onlyB<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h5></li></ul><aside class="tsd-sources">
|
|
53
53
|
<ul>
|
|
54
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
54
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/26ba3e6/src/compareArrays.ts#L12">compareArrays.ts:12</a></li></ul></aside></li></ul></section></div>
|
|
55
55
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
56
56
|
<div class="tsd-navigation settings">
|
|
57
57
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -71,7 +71,7 @@ both - items that exists in both arrays</p>
|
|
|
71
71
|
<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>
|
|
72
72
|
<div class="tsd-accordion-details">
|
|
73
73
|
<ul>
|
|
74
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/>
|
|
74
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v2.1.0</a>
|
|
75
75
|
<ul>
|
|
76
76
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
77
77
|
<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>
|
|
@@ -86,7 +86,9 @@ both - items that exists in both arrays</p>
|
|
|
86
86
|
<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>
|
|
87
87
|
<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
88
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottledFunctionExtras.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>Throttled<wbr/>Function<wbr/>Extras</a></li>
|
|
89
|
-
<li class="tsd-kind-type-alias"><a href="../types/
|
|
89
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomDeserializers.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Custom<wbr/>Deserializers</a></li>
|
|
90
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomSerializers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Custom<wbr/>Serializers</a></li>
|
|
91
|
+
<li class="tsd-kind-type-alias"><a href="../types/Later.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Later</a></li>
|
|
90
92
|
<li class="tsd-kind-type-alias"><a href="../types/MapValuesFn.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Map<wbr/>Values<wbr/>Fn</a></li>
|
|
91
93
|
<li class="tsd-kind-type-alias"><a href="../types/MatchCallback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Match<wbr/>Callback</a></li>
|
|
92
94
|
<li class="tsd-kind-type-alias"><a href="../types/SeqEarlyBreaker.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Early<wbr/>Breaker</a></li>
|
|
@@ -101,6 +103,7 @@ both - items that exists in both arrays</p>
|
|
|
101
103
|
<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>
|
|
102
104
|
<li class="current tsd-kind-function"><a href="compareArrays.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>compare<wbr/>Arrays</a></li>
|
|
103
105
|
<li class="tsd-kind-function"><a href="compareProps.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>compare<wbr/>Props</a></li>
|
|
106
|
+
<li class="tsd-kind-function"><a href="deserialize.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>deserialize</a></li>
|
|
104
107
|
<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>
|
|
105
108
|
<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>
|
|
106
109
|
<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>
|
|
@@ -130,11 +133,14 @@ both - items that exists in both arrays</p>
|
|
|
130
133
|
<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>
|
|
131
134
|
<li class="tsd-kind-function"><a href="removeCommonProperties.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<wbr/>Common<wbr/>Properties</a></li>
|
|
132
135
|
<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>
|
|
136
|
+
<li class="tsd-kind-function"><a href="replaceDeep.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<wbr/>Deep</a></li>
|
|
133
137
|
<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>
|
|
138
|
+
<li class="tsd-kind-function"><a href="round.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>round</a></li>
|
|
134
139
|
<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>
|
|
135
140
|
<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>
|
|
136
141
|
<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>
|
|
137
142
|
<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>
|
|
143
|
+
<li class="tsd-kind-function"><a href="serialize.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>serialize</a></li>
|
|
138
144
|
<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>
|
|
139
145
|
<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>
|
|
140
146
|
<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>
|
|
@@ -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>compareProps | @ezez/utils -
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>compareProps | @ezez/utils - v2.1.0</title><meta name="description" content="Documentation for @ezez/utils - v2.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
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 -
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v2.1.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 -
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v2.1.0</a></li>
|
|
16
16
|
<li><a href="compareProps.html">compareProps</a></li></ul>
|
|
17
17
|
<h1>Function compareProps</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -50,7 +50,7 @@ considered as a difference. To change this behavior set <code>missingEqualsUndef
|
|
|
50
50
|
</div></li></ul></div>
|
|
51
51
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
52
52
|
<ul>
|
|
53
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
53
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/26ba3e6/src/compareProps.ts#L17">compareProps.ts:17</a></li></ul></aside></li></ul></section></div>
|
|
54
54
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
55
55
|
<div class="tsd-navigation settings">
|
|
56
56
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -70,7 +70,7 @@ considered as a difference. To change this behavior set <code>missingEqualsUndef
|
|
|
70
70
|
<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>
|
|
71
71
|
<div class="tsd-accordion-details">
|
|
72
72
|
<ul>
|
|
73
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/>
|
|
73
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v2.1.0</a>
|
|
74
74
|
<ul>
|
|
75
75
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
76
76
|
<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>
|
|
@@ -85,7 +85,9 @@ considered as a difference. To change this behavior set <code>missingEqualsUndef
|
|
|
85
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>
|
|
86
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>
|
|
87
87
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottledFunctionExtras.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>Throttled<wbr/>Function<wbr/>Extras</a></li>
|
|
88
|
-
<li class="tsd-kind-type-alias"><a href="../types/
|
|
88
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomDeserializers.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Custom<wbr/>Deserializers</a></li>
|
|
89
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomSerializers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Custom<wbr/>Serializers</a></li>
|
|
90
|
+
<li class="tsd-kind-type-alias"><a href="../types/Later.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Later</a></li>
|
|
89
91
|
<li class="tsd-kind-type-alias"><a href="../types/MapValuesFn.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Map<wbr/>Values<wbr/>Fn</a></li>
|
|
90
92
|
<li class="tsd-kind-type-alias"><a href="../types/MatchCallback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Match<wbr/>Callback</a></li>
|
|
91
93
|
<li class="tsd-kind-type-alias"><a href="../types/SeqEarlyBreaker.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Early<wbr/>Breaker</a></li>
|
|
@@ -100,6 +102,7 @@ considered as a difference. To change this behavior set <code>missingEqualsUndef
|
|
|
100
102
|
<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>
|
|
101
103
|
<li class="tsd-kind-function"><a href="compareArrays.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>compare<wbr/>Arrays</a></li>
|
|
102
104
|
<li class="current tsd-kind-function"><a href="compareProps.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>compare<wbr/>Props</a></li>
|
|
105
|
+
<li class="tsd-kind-function"><a href="deserialize.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>deserialize</a></li>
|
|
103
106
|
<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>
|
|
104
107
|
<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>
|
|
105
108
|
<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>
|
|
@@ -129,11 +132,14 @@ considered as a difference. To change this behavior set <code>missingEqualsUndef
|
|
|
129
132
|
<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>
|
|
130
133
|
<li class="tsd-kind-function"><a href="removeCommonProperties.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<wbr/>Common<wbr/>Properties</a></li>
|
|
131
134
|
<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>
|
|
135
|
+
<li class="tsd-kind-function"><a href="replaceDeep.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<wbr/>Deep</a></li>
|
|
132
136
|
<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>
|
|
137
|
+
<li class="tsd-kind-function"><a href="round.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>round</a></li>
|
|
133
138
|
<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>
|
|
134
139
|
<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>
|
|
135
140
|
<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>
|
|
136
141
|
<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>
|
|
142
|
+
<li class="tsd-kind-function"><a href="serialize.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>serialize</a></li>
|
|
137
143
|
<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>
|
|
138
144
|
<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>
|
|
139
145
|
<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>
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>deserialize | @ezez/utils - v2.1.0</title><meta name="description" content="Documentation for @ezez/utils - v2.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
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>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
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 - v2.1.0</a></div>
|
|
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
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-8 col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v2.1.0</a></li>
|
|
16
|
+
<li><a href="deserialize.html">deserialize</a></li></ul>
|
|
17
|
+
<h1>Function deserialize</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures tsd-kind-function">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="deserialize">deserialize<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>serializedString<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, customDeserializers<span class="tsd-signature-symbol">?: </span><a href="../types/CustomDeserializers.html" class="tsd-signature-type" data-tsd-kind="Type alias">CustomDeserializers</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><a href="#deserialize" 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"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>Deserializes a string serialized with <code>serialize</code> into a value.</p>
|
|
23
|
+
<p>You will need to specify deserializers if custom data types are serialized. See <code>serialize</code> for more information.</p>
|
|
24
|
+
|
|
25
|
+
<h3>See</h3><p><a href="serialize.html">serialize</a>.</p>
|
|
26
|
+
</div>
|
|
27
|
+
<section class="tsd-panel tsd-type-parameters">
|
|
28
|
+
<h4>Type Parameters</h4>
|
|
29
|
+
<ul class="tsd-type-parameters">
|
|
30
|
+
<li>
|
|
31
|
+
<h4>T</h4></li></ul></section>
|
|
32
|
+
<div class="tsd-parameters">
|
|
33
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
34
|
+
<ul class="tsd-parameter-list">
|
|
35
|
+
<li>
|
|
36
|
+
<h5>serializedString: <span class="tsd-signature-type">string</span></h5>
|
|
37
|
+
<div class="tsd-comment tsd-typography"><p>the serialized string</p>
|
|
38
|
+
</div></li>
|
|
39
|
+
<li>
|
|
40
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> customDeserializers: <a href="../types/CustomDeserializers.html" class="tsd-signature-type" data-tsd-kind="Type alias">CustomDeserializers</a></h5>
|
|
41
|
+
<div class="tsd-comment tsd-typography"><p>an object with custom deserializers</p>
|
|
42
|
+
</div></li></ul></div>
|
|
43
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h4><aside class="tsd-sources">
|
|
44
|
+
<ul>
|
|
45
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/26ba3e6/src/deserialize.ts#L27">deserialize.ts:27</a></li></ul></aside></li></ul></section></div>
|
|
46
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
47
|
+
<div class="tsd-navigation settings">
|
|
48
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
49
|
+
<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> Settings</h3></summary>
|
|
50
|
+
<div class="tsd-accordion-details">
|
|
51
|
+
<div class="tsd-filter-visibility">
|
|
52
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
53
|
+
<ul id="tsd-filter-options">
|
|
54
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
55
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
|
56
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
57
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
|
58
|
+
<div class="tsd-theme-toggle">
|
|
59
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
60
|
+
<nav class="tsd-navigation primary">
|
|
61
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
62
|
+
<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>
|
|
63
|
+
<div class="tsd-accordion-details">
|
|
64
|
+
<ul>
|
|
65
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v2.1.0</a>
|
|
66
|
+
<ul>
|
|
67
|
+
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
68
|
+
<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>
|
|
69
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
70
|
+
<ul>
|
|
71
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ComparePropsOptions.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>Compare<wbr/>Props<wbr/>Options</a></li>
|
|
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"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Multiple<wbr/>Source</a></li>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
79
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ThrottledFunctionExtras.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>Throttled<wbr/>Function<wbr/>Extras</a></li>
|
|
80
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomDeserializers.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Custom<wbr/>Deserializers</a></li>
|
|
81
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomSerializers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Custom<wbr/>Serializers</a></li>
|
|
82
|
+
<li class="tsd-kind-type-alias"><a href="../types/Later.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Later</a></li>
|
|
83
|
+
<li class="tsd-kind-type-alias"><a href="../types/MapValuesFn.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Map<wbr/>Values<wbr/>Fn</a></li>
|
|
84
|
+
<li class="tsd-kind-type-alias"><a href="../types/MatchCallback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Match<wbr/>Callback</a></li>
|
|
85
|
+
<li class="tsd-kind-type-alias"><a href="../types/SeqEarlyBreaker.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Early<wbr/>Breaker</a></li>
|
|
86
|
+
<li class="tsd-kind-type-alias"><a href="../types/SeqFn.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Fn</a></li>
|
|
87
|
+
<li class="tsd-kind-type-alias"><a href="../types/SeqFunctions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Functions</a></li>
|
|
88
|
+
<li class="tsd-kind-type-alias"><a href="../types/SetImmutablePath.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Set<wbr/>Immutable<wbr/>Path</a></li>
|
|
89
|
+
<li class="tsd-kind-type-alias"><a href="../types/ThrottledFunction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Throttled<wbr/>Function</a></li>
|
|
90
|
+
<li class="tsd-kind-variable"><a href="../variables/mapValuesUNSET.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-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>map<wbr/>ValuesUNSET</a></li>
|
|
91
|
+
<li class="tsd-kind-variable"><a href="../variables/mergeUNSET.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>mergeUNSET</a></li>
|
|
92
|
+
<li class="tsd-kind-function"><a href="cap.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-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>cap</a></li>
|
|
93
|
+
<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>
|
|
94
|
+
<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>
|
|
95
|
+
<li class="tsd-kind-function"><a href="compareArrays.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>compare<wbr/>Arrays</a></li>
|
|
96
|
+
<li class="tsd-kind-function"><a href="compareProps.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>compare<wbr/>Props</a></li>
|
|
97
|
+
<li class="current tsd-kind-function"><a href="deserialize.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>deserialize</a></li>
|
|
98
|
+
<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>
|
|
99
|
+
<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>
|
|
100
|
+
<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>
|
|
101
|
+
<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>
|
|
102
|
+
<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>
|
|
103
|
+
<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>
|
|
104
|
+
<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>
|
|
105
|
+
<li class="tsd-kind-function"><a href="formatDate.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>format<wbr/>Date</a></li>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
113
|
+
<li class="tsd-kind-function"><a href="later-1.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>later</a></li>
|
|
114
|
+
<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>
|
|
115
|
+
<li class="tsd-kind-function"><a href="mapValues.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/>Values</a></li>
|
|
116
|
+
<li class="tsd-kind-function"><a href="match.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>match</a></li>
|
|
117
|
+
<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>
|
|
118
|
+
<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>
|
|
119
|
+
<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>
|
|
120
|
+
<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>
|
|
121
|
+
<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>
|
|
122
|
+
<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>
|
|
123
|
+
<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>
|
|
124
|
+
<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>
|
|
125
|
+
<li class="tsd-kind-function"><a href="removeCommonProperties.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<wbr/>Common<wbr/>Properties</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>
|
|
127
|
+
<li class="tsd-kind-function"><a href="replaceDeep.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<wbr/>Deep</a></li>
|
|
128
|
+
<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>
|
|
129
|
+
<li class="tsd-kind-function"><a href="round.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>round</a></li>
|
|
130
|
+
<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>
|
|
131
|
+
<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>
|
|
132
|
+
<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>
|
|
133
|
+
<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>
|
|
134
|
+
<li class="tsd-kind-function"><a href="serialize.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>serialize</a></li>
|
|
135
|
+
<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>
|
|
136
|
+
<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>
|
|
137
|
+
<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>
|
|
138
|
+
<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>
|
|
139
|
+
<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>
|
|
140
|
+
<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>
|
|
141
|
+
<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>
|
|
142
|
+
<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>
|
|
143
|
+
<li class="tsd-kind-function"><a href="unique.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>unique</a></li>
|
|
144
|
+
<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>
|
|
145
|
+
<li class="tsd-kind-function"><a href="waitFor.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<wbr/>For</a></li>
|
|
146
|
+
<li class="tsd-kind-function"><a href="waitSync.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<wbr/>Sync</a></li></ul></nav></div></div>
|
|
147
|
+
<div class="container tsd-generator">
|
|
148
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
149
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -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>ensureArray | @ezez/utils -
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ensureArray | @ezez/utils - v2.1.0</title><meta name="description" content="Documentation for @ezez/utils - v2.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
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 -
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v2.1.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 -
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v2.1.0</a></li>
|
|
16
16
|
<li><a href="ensureArray.html">ensureArray</a></li></ul>
|
|
17
17
|
<h1>Function ensureArray</h1></div>
|
|
18
18
|
<section class="tsd-panel">
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</div></li></ul></div>
|
|
37
37
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
38
38
|
<ul>
|
|
39
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
39
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/26ba3e6/src/ensureArray.ts#L6">ensureArray.ts:6</a></li></ul></aside></li></ul></section></div>
|
|
40
40
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
41
41
|
<div class="tsd-navigation settings">
|
|
42
42
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<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>
|
|
57
57
|
<div class="tsd-accordion-details">
|
|
58
58
|
<ul>
|
|
59
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/>
|
|
59
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v2.1.0</a>
|
|
60
60
|
<ul>
|
|
61
61
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
62
62
|
<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>
|
|
@@ -71,7 +71,9 @@
|
|
|
71
71
|
<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>
|
|
72
72
|
<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>
|
|
73
73
|
<li class="tsd-kind-interface"><a href="../interfaces/ThrottledFunctionExtras.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>Throttled<wbr/>Function<wbr/>Extras</a></li>
|
|
74
|
-
<li class="tsd-kind-type-alias"><a href="../types/
|
|
74
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomDeserializers.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)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Custom<wbr/>Deserializers</a></li>
|
|
75
|
+
<li class="tsd-kind-type-alias"><a href="../types/CustomSerializers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Custom<wbr/>Serializers</a></li>
|
|
76
|
+
<li class="tsd-kind-type-alias"><a href="../types/Later.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Later</a></li>
|
|
75
77
|
<li class="tsd-kind-type-alias"><a href="../types/MapValuesFn.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Map<wbr/>Values<wbr/>Fn</a></li>
|
|
76
78
|
<li class="tsd-kind-type-alias"><a href="../types/MatchCallback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Match<wbr/>Callback</a></li>
|
|
77
79
|
<li class="tsd-kind-type-alias"><a href="../types/SeqEarlyBreaker.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Seq<wbr/>Early<wbr/>Breaker</a></li>
|
|
@@ -86,6 +88,7 @@
|
|
|
86
88
|
<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>
|
|
87
89
|
<li class="tsd-kind-function"><a href="compareArrays.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>compare<wbr/>Arrays</a></li>
|
|
88
90
|
<li class="tsd-kind-function"><a href="compareProps.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>compare<wbr/>Props</a></li>
|
|
91
|
+
<li class="tsd-kind-function"><a href="deserialize.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>deserialize</a></li>
|
|
89
92
|
<li class="current 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>
|
|
90
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>
|
|
@@ -115,11 +118,14 @@
|
|
|
115
118
|
<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>
|
|
116
119
|
<li class="tsd-kind-function"><a href="removeCommonProperties.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<wbr/>Common<wbr/>Properties</a></li>
|
|
117
120
|
<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>
|
|
121
|
+
<li class="tsd-kind-function"><a href="replaceDeep.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<wbr/>Deep</a></li>
|
|
118
122
|
<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>
|
|
123
|
+
<li class="tsd-kind-function"><a href="round.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>round</a></li>
|
|
119
124
|
<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>
|
|
120
125
|
<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>
|
|
121
126
|
<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>
|
|
122
127
|
<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>
|
|
128
|
+
<li class="tsd-kind-function"><a href="serialize.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>serialize</a></li>
|
|
123
129
|
<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>
|
|
124
130
|
<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>
|
|
125
131
|
<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>
|