Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MaybeType<A, O>

Type parameters

Hierarchy

Index

Type aliases

Properties

Methods

Type aliases

Encoding

Encoding<A>: E.OutputOf<A>

Type parameters

  • A

Of

Of<A>: G.TypeOf<A>

Type parameters

  • A

Properties

Readonly decode

decode: (i: unknown) => DecodeEffect<Maybe<Of<A>>>

Type declaration

Readonly encode

encode: (i: Maybe<Of<A>>) => O

Type declaration

Readonly expected

expected: string

Readonly is

is: Is<Maybe<Of<A>>>

Readonly justType

justType: A

Readonly name

name: string

Methods

fromGuard

  • fromGuard<A>(guard: Guard<A>, name: string, expected?: string): Type<A>

Generated using TypeDoc