API Reference / validatedSpanFor · function
Function: validatedSpanFor()
function validatedSpanFor(body, data): BodySpan | null;
The measured validated span for a body under the given engine data, or
null for analytic points with no stated bound and unknown (synthetic)
bodies. Packed bodies report the headline: outside their fitted span
they are not computed at all (they land in Chart.unavailable), so the
validated question only arises inside it.
Parameters
| Parameter | Type |
|---|---|
body | string |
data | EngineData |
Returns
BodySpan | null