Skip to content

Commit

Permalink
deploy: b2e9c56
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Sep 23, 2023
1 parent 0d16c4a commit 9c1b63c
Show file tree
Hide file tree
Showing 482 changed files with 2,567 additions and 775 deletions.
2 changes: 1 addition & 1 deletion assets/search.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions functions/amend.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h4>Type Parameters</h4>
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/utils/as.ts#L17">type-plus/ts/utils/as.ts:17</a></li></ul></aside></li></ul></li>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/utils/as.ts#L17">type-plus/ts/utils/as.ts:17</a></li></ul></aside></li></ul></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-method">union</span><span class="tsd-signature-symbol">:</span>function</h5>
<ul class="tsd-signatures">
Expand All @@ -58,10 +58,10 @@ <h4>Type Parameters</h4>
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/utils/as.ts#L14">type-plus/ts/utils/as.ts:14</a></li></ul></aside></li></ul></li></ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/utils/as.ts#L14">type-plus/ts/utils/as.ts:14</a></li></ul></aside></li></ul></li></ul>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/utils/as.ts#L12">type-plus/ts/utils/as.ts:12</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/utils/as.ts#L12">type-plus/ts/utils/as.ts:12</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -174,6 +174,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/AnyConstructor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Constructor</span></a></li>
<li><a href="../types/AnyFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Function</span></a></li>
<li><a href="../types/AnyRecord.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Record</span></a></li>
<li><a href="../types/AnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Type</span></a></li>
<li><a href="../types/ArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Array<wbr/>Type</span></a></li>
<li><a href="../types/At.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>At</span></a></li>
<li><a href="../types/AwaitedProp.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Awaited<wbr/>Prop</span></a></li>
Expand Down Expand Up @@ -300,6 +301,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/NonNull.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Null</span></a></li>
<li><a href="../types/NonUndefined.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Undefined</span></a></li>
<li><a href="../types/Not.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not</span></a></li>
<li><a href="../types/NotAnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Any<wbr/>Type</span></a></li>
<li><a href="../types/NotArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Array<wbr/>Type</span></a></li>
<li><a href="../types/NotBigintType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Bigint<wbr/>Type</span></a></li>
<li><a href="../types/NotBooleanType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Boolean<wbr/>Type</span></a></li>
Expand Down
4 changes: 3 additions & 1 deletion functions/as.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">subject</span>: <span class="tsd-signature-type">unknown</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/utils/as.ts#L1">type-plus/ts/utils/as.ts:1</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/utils/as.ts#L1">type-plus/ts/utils/as.ts:1</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -144,6 +144,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/AnyConstructor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Constructor</span></a></li>
<li><a href="../types/AnyFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Function</span></a></li>
<li><a href="../types/AnyRecord.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Record</span></a></li>
<li><a href="../types/AnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Type</span></a></li>
<li><a href="../types/ArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Array<wbr/>Type</span></a></li>
<li><a href="../types/At.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>At</span></a></li>
<li><a href="../types/AwaitedProp.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Awaited<wbr/>Prop</span></a></li>
Expand Down Expand Up @@ -270,6 +271,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/NonNull.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Null</span></a></li>
<li><a href="../types/NonUndefined.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Undefined</span></a></li>
<li><a href="../types/Not.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not</span></a></li>
<li><a href="../types/NotAnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Any<wbr/>Type</span></a></li>
<li><a href="../types/NotArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Array<wbr/>Type</span></a></li>
<li><a href="../types/NotBigintType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Bigint<wbr/>Type</span></a></li>
<li><a href="../types/NotBooleanType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Boolean<wbr/>Type</span></a></li>
Expand Down
4 changes: 3 additions & 1 deletion functions/asAny.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">subject</span>: <span class="tsd-signature-type">unknown</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/utils/as.ts#L5">type-plus/ts/utils/as.ts:5</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/utils/as.ts#L5">type-plus/ts/utils/as.ts:5</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -139,6 +139,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/AnyConstructor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Constructor</span></a></li>
<li><a href="../types/AnyFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Function</span></a></li>
<li><a href="../types/AnyRecord.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Record</span></a></li>
<li><a href="../types/AnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Type</span></a></li>
<li><a href="../types/ArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Array<wbr/>Type</span></a></li>
<li><a href="../types/At.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>At</span></a></li>
<li><a href="../types/AwaitedProp.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Awaited<wbr/>Prop</span></a></li>
Expand Down Expand Up @@ -265,6 +266,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/NonNull.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Null</span></a></li>
<li><a href="../types/NonUndefined.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Undefined</span></a></li>
<li><a href="../types/Not.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not</span></a></li>
<li><a href="../types/NotAnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Any<wbr/>Type</span></a></li>
<li><a href="../types/NotArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Array<wbr/>Type</span></a></li>
<li><a href="../types/NotBigintType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Bigint<wbr/>Type</span></a></li>
<li><a href="../types/NotBooleanType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Boolean<wbr/>Type</span></a></li>
Expand Down
8 changes: 5 additions & 3 deletions functions/assertType-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h5><span class="tsd-kind-parameter">subject</span>: <span class="tsd-signature-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">asserts </span><span class="tsd-kind-parameter">subject</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/assertion/assert_type.ts#L12">type-plus/ts/assertion/assert_type.ts:12</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/assertion/assert_type.ts#L12">type-plus/ts/assertion/assert_type.ts:12</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="assertType-1"><span class="tsd-kind-call-signature">assert<wbr/>Type</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">subject</span>, <span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">asserts </span><span class="tsd-kind-parameter">subject</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#assertType-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<section class="tsd-panel">
Expand Down Expand Up @@ -64,7 +64,7 @@ <h5><span class="tsd-kind-parameter">s</span>: <span class="tsd-signature-type t
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">asserts </span><span class="tsd-kind-parameter">subject</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/assertion/assert_type.ts#L13">type-plus/ts/assertion/assert_type.ts:13</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/assertion/assert_type.ts#L13">type-plus/ts/assertion/assert_type.ts:13</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="assertType-2"><span class="tsd-kind-call-signature">assert<wbr/>Type</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">subject</span>, <span class="tsd-kind-parameter">constructor</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">asserts </span><span class="tsd-kind-parameter">subject</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">InstanceType</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#assertType-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<section class="tsd-panel">
Expand All @@ -84,7 +84,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">asserts
<h4>Deprecated</h4><p>this is not a failsafe test</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/3c54c81a3/type-plus/ts/assertion/assert_type.ts#L17">type-plus/ts/assertion/assert_type.ts:17</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/unional/type-plus/blob/b2e9c562a/type-plus/ts/assertion/assert_type.ts#L17">type-plus/ts/assertion/assert_type.ts:17</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -197,6 +197,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/AnyConstructor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Constructor</span></a></li>
<li><a href="../types/AnyFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Function</span></a></li>
<li><a href="../types/AnyRecord.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Record</span></a></li>
<li><a href="../types/AnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Any<wbr/>Type</span></a></li>
<li><a href="../types/ArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Array<wbr/>Type</span></a></li>
<li><a href="../types/At.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>At</span></a></li>
<li><a href="../types/AwaitedProp.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Awaited<wbr/>Prop</span></a></li>
Expand Down Expand Up @@ -323,6 +324,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
<li><a href="../types/NonNull.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Null</span></a></li>
<li><a href="../types/NonUndefined.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Non<wbr/>Undefined</span></a></li>
<li><a href="../types/Not.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not</span></a></li>
<li><a href="../types/NotAnyType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Any<wbr/>Type</span></a></li>
<li><a href="../types/NotArrayType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Array<wbr/>Type</span></a></li>
<li><a href="../types/NotBigintType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Bigint<wbr/>Type</span></a></li>
<li><a href="../types/NotBooleanType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>Not<wbr/>Boolean<wbr/>Type</span></a></li>
Expand Down
Loading

0 comments on commit 9c1b63c

Please sign in to comment.