MCPcopy Create free account
hub / github.com/3rdparty/libprocess / latest

Method latest

include/process/timeseries.hpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 Option<Value> latest() const
110 {
111 if (empty()) {
112 return None();
113 }
114
115 return Value(values.rbegin()->first, values.rbegin()->second);
116 }
117
118 bool empty() const { return values.empty(); }
119

Callers 1

TESTFunction · 0.80

Calls 1

ValueClass · 0.85

Tested by 1

TESTFunction · 0.64