call method

double call(
  1. T value
)

Returns the start position of the band for the given value.

Implementation

double call(T value) {
  final index = _domain.indexOf(value);
  if (index < 0) return double.nan;
  return _bandStart(index);
}