none static method

dynamic none([
  1. dynamic defaultValue
])

Stop computation of the current cell's value.

When this method is called within a cell's value computation function, the cell's value is not recomputed. Instead the cell's current value is preserved.

If this method is called when a cell's initial value is being computed, the cell's initial value is set to defaultValue.

If defaultValue is null, and this method is used during the computation of the initial value of a cell with a value type that is not nullable, an UninitializedCellError is thrown.

Implementation

static none([defaultValue]) => throw StopComputeException(defaultValue);