Skip to main content

reached

Function reached 

Source
pub fn reached(cost_usd: f64, cap_usd: f64) -> bool
Expand description

Whether a run that has spent cost_usd has reached cap_usd: it is stopped. A run that spent nothing hasn’t, whatever the cap.