ANTAREX API

Clava API

LARA API

LARA Common Language API

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

(.lara)
import lara.units.EnergyUnit;

EnergyUnit

Constructor

EnergyUnit

new EnergyUnit(siModifier)

Parameters

siModifier: lara.units.SiModifier

Static Members

joule

joule()

micro

micro()

milli

milli()

Instance Members

convert

convert(value, unit)

Override that discards parameter 'unitHasBaseName' and always requires the suffix 'J'.

Parameters

value: any
unit: any