deleteSparseReactiveMetric

Syntax

deleteSparseReactiveMetric(engine, outputMetricKey)

Details

Deletes the metric corresponding to outputMetricKey from the specified SparseReactiveStateEngine. If it exists, it is deleted and true is returned; otherwise false is returned.

Parameters

engine is a STRING scalar or an object, specifying the sparse reactive stateful engine from which computation metrics are deleted.

outputMetricKey is a STRING/SYMBOL scalar or vector specifying the output metric name(s) of the rule(s) to be deleted.

Returns

Returns a BOOL scalar. It returns true if the rule exists and is deleted; otherwise it returns false.