KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lara.metrics.MetricResult");

(.lara)
import lara.metrics.MetricResult;

MetricResult

Constructor

MetricResult

new MetricResult(value, unit)

Data about a metric.

Parameters

value: any
unit: any

Instance Members

getUnit

getUnit()

Returns

string - the unit of the metric value

getValue

getValue()

Returns

any - the value of the metric