API Reference
This reference is generated from the source with TypeDoc at build time.
Packages
- unthrown — the core
Result/AsyncResulttypes, constructors (ok,err,defect), guards, boundary interop (fromNullable,fromThrowable,fromPromise,fromSafePromise), aggregation (all), and the tagged-error utilities (TaggedError,matchTags). - @unthrown/vitest — custom Vitest matchers (
toBeOk,toBeOkWith,toBeErr,toBeErrTagged,toBeDefect). - @unthrown/pattern — thin
ts-patternsugar for the natively-matchableResult(P.ok/P.err/P.defect,tag).