Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Constant

A constant is such a quantity whose value is known and remains fixed always.

Hierarchy

Implemented by

Indexable

[x: string]: any

A constant is such a quantity whose value is known and remains fixed always.

Index

Properties

Methods

Properties

name

name: string

The string with which this is identified by. For a constant, this value is optional. The implementing classes should take care that there is some default value assigned should the user choose not to initialise a Constant with a name.

quantity

quantity: string

The kind of physical quantity this implements.

type

type: "constant"

value

value: any

The fixed value this object will represent.

Methods

equals

Generated using TypeDoc