#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_anomaly_check(
anomaly: *mut PamojaAnomaly,
reading: f32,
) -> boolExpand description
Folds a reading in and reports whether it stands out from the window.
§Returns
true when the reading is further from the mean than the configured number
of deviations, or false if anomaly is null or the window is still filling.
§Safety
anomaly must be a live handle from pamoja_anomaly_new, or null.