Class PressureUnit

Hierarchy (view full)

Constructors

Properties

PASCAL: PressureUnit = ...
UNITS: Map<string, Unit> = ...
UNIT_BASES: Map<string, string> = ...
UNKNOWN: Unit = ...

Accessors

  • get aliases(): string[]
  • Unit aliases

    Returns string[]

    Alias names as array

Methods

  • Find a unit by its name

    Parameters

    • name: string

      Unit name

    • Optional baseName: string

      Optional base name to specific result

    Returns Unit

    Unit if found