Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Value

Value a Variable can take. Only used in the context of the FlexibleUnit. To get a better understanding of options read the Flexible Unit's documentation first.

Hierarchy

  • Value

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Value(short: string, long: string, ratio: number): Value
  • Creates a new option.

    Parameters

    • short: string

      the option's short notation (e.g. k)

    • long: string

      the option's long notation (e.g. kilo)

    • ratio: number

      the option's ratio (e.g. 1000)

    Returns Value

Properties

Readonly long

long: string

the option's long notation (e.g. kilo)

ratio

ratio: number

the option's ratio (e.g. 1000)

Readonly short

short: string

the option's short notation (e.g. k)

Methods

copy

Generated using TypeDoc