Interface Maybe<A>

Type Parameters

  • A

Hierarchy

Properties

Properties

get: ((this, key, defaultValue) => any)

Type declaration

    • (this, key, defaultValue): any
    • Parameters

      • this: Maybe<A>
      • key: string
      • defaultValue: any

      Returns any

join: ((this) => Maybe<A>)

Type declaration

map: (<B>(this, f) => Maybe<B>)

Type declaration

    • <B>(this, f): Maybe<B>
    • Type Parameters

      • B

      Parameters

      • this: Maybe<A>
      • f: ((x) => B)
          • (x): B
          • Parameters

            • x: A

            Returns B

      Returns Maybe<B>

toValue: ((this, defaultValue) => Maybe<A>)

Type declaration

    • (this, defaultValue): Maybe<A>
    • Parameters

      • this: Maybe<A>
      • defaultValue: A

      Returns Maybe<A>

Generated using TypeDoc