Skip to main content Link Menu Expand (external link) Document Search Copy Copied

fromRefinement overview

Added in v0.4.4


Table of contents


fromRefinement

Returns a codec from a refinement

Signature

export function fromRefinement<A>(name: string, is: (u: unknown) => u is A): t.Type<A, A, unknown> { ... }

Added in v0.4.4