ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("lara.units.UnitWithModifier");

(.lara)
import lara.units.UnitWithModifier;

UnitWithModifier

Constructor

UnitWithModifier

new UnitWithModifier(unitModifier, baseUnit, modifier)

Parameters

unitModifier: any
baseUnit: any
modifier: any

Instance Members

convert

convert(unit, value, unitHasBaseName)

Parameters

unit: string - Unit of the value.
value: any
unitHasBaseName: any

getName

getName()