Skip to content

Commit

Permalink
Sep
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Mar 13, 2019
1 parent 0125b4e commit 04aba70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ mydecoder(false) // DecodeError
```


---

<a name="oneOf" href="#oneOf">#</a> <b>oneOf</b><i>&lt;T&gt;</i>(<i>Array&lt;T&gt;</i>): <i>Decoder&lt;T&gt;</i> [&lt;&gt;](https://github.com/nvie/decoders/blob/master/src/either.js "Source")<br />

Expand Down Expand Up @@ -576,6 +577,7 @@ The return type here will be `Decoder<string>`, not `Decoder<('foo' | 'bar')>`.
(To obtain the latter, use `either(constant('foo'), constant('bar'))` instead.)


---

<a name="instanceOf" href="#instanceOf">#</a> <b>instanceOf</b><i>&lt;T&gt;</i>(<i>Class&lt;T&gt;</i>): <i>Decoder&lt;T&gt;</i> [&lt;&gt;](https://github.com/nvie/decoders/blob/master/src/instanceOf.js "Source")<br />

Expand Down

0 comments on commit 04aba70

Please sign in to comment.