Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOption<T>

Type Parameters

  • T

Hierarchy

  • IOption

Implemented by

Index

Methods

  • doesNotHave(): this is None
  • has(): this is Some<T>
  • unwrapForce(): T
  • unwrapOrDefault(altValue: T): T
  • unwrapOrElse(f: ((...vals: any) => T)): T
  • unwrapOrUndefined(): undefined | T

Generated using TypeDoc