Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Safe

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Safe(value: unknown): Safe

Properties

Protected thrower

thrower: (message: string, value: unknown) => never

Type declaration

    • (message: string, value: unknown): never
    • Parameters

      • message: string
      • value: unknown

      Returns never

Protected Readonly value

value: unknown

Methods

in

  • in<T>(allowed: T[]): T

integer

json

number

  • number(): number

onError

  • onError(thrower: (message: string, value: unknown) => never): Safe
  • Parameters

    • thrower: (message: string, value: unknown) => never
        • (message: string, value: unknown): never
        • Parameters

          • message: string
          • value: unknown

          Returns never

    Returns Safe

or

  • or(other: unknown): Safe

present

string

  • string(): string
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.