import * as eitherway from "https://deno.land/x/eitherway@0.10.0/lib/core/option.ts";
Namespaces
Utility functions to work with | |
N Some |
Functions
Use this to apply an | |
Alias for Option() | |
Use this if all falsy values should be evaluated to | |
Use this if instances of | |
Use this to return the provided instance of | |
Use this to compose functions and | |
Same as | |
Type predicate - use this to check if all values in an array are | |
Type predicate - use this to check if all values in an array are | |
f Some | |
Use this to signal some kind of success irrespective of
the wrapped type as alternative to |
Type Aliases
Use this to infer an | |
Use this to infer the encapsulated | |
Use this to infer the encapsulated | |
Use this to infer a union of all | |
T None | None
|
Option
| |
T Some | Some |