update Instrument Measurement
fun updateInstrumentMeasurement(instrument: Action.Instrument, block: (Action.Instrument.Measurements?) -> Action.Instrument.Measurements?): Action.Measurements
Update a Instrument.Measurements for the given instrument in the Measurements.
Return
A new Measurements instance with the updated measurements.
Parameters
block
A function to update the current Instrument.Measurements for the given instrument
. If it's null
, it means there are measurements for the instrument yet.