moonads
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

Protected constructor

  • new Maybe(value: T): Maybe

Properties

ap

ap: function

Type declaration

bind

bind: function

Type declaration

fold

fold: function

Type declaration

get

get: function

Type declaration

    • (): T
    • Returns T

isNone

isNone: function

Type declaration

    • (): boolean
    • Returns boolean

map

map: function

Type declaration

orElse

orElse: function

Type declaration

orSome

orSome: function

Type declaration

    • (value: T): T
    • Parameters

      • value: T

      Returns T

Protected value

value: T

Methods

equals

  • equals<M>(m: M): boolean

Static of

  • of<V>(value: V): Maybe<V>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc