Home Reference Source Repository
import None from 'stools/src/None.js'
public class | source

None

Extends:

Monad → None

None

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public
public
public
public

map(): None

Public Constructors

public constructor: None source

Return:

None

Public Methods

public bind(fn: function): Object source

Params:

NameTypeAttributeDescription
fn function

is a function.

Return:

Object

public getOrElse(value: Object): Object source

Params:

NameTypeAttributeDescription
value Object

is an object.

Return:

Object

public isNone(): boolean source

Return:

boolean

public isSome(): boolean source

Return:

boolean

public map(): None source

Return:

None