lastValidValue()
Signature:
last_valid_value: Optional[float]
The hec-python-library equivalent of Jython method lastValidValue():
This method is implemented as a property of the TimeSeries class.
The property value will be None if the time series is empty.
Example:
from hec import TimeSeries
ts: TimeSeries
val: Optional[float]
val = ts.last_valid_value