Options
All
  • Public
  • Public/Protected
  • All
Menu

Optional values

deprecated

Type parameters

  • T

Hierarchy

  • Option

Implements

Index

Properties

val

val: Voidable<T>

Static None

None: Option<any> = ...

Accessors

has

  • get has(): boolean

Methods

toString

  • toString(): string

map

  • map<R>(f: (val: T) => R): Option<R>
  • Type parameters

    • R

    Parameters

    • f: (val: T) => R
        • (val: T): R
        • Parameters

          • val: T

          Returns R

    Returns Option<R>

then

or

xor

and

take

Static some

Static none

Generated using TypeDoc