API Reference / engineCapabilities · function

Function: engineCapabilities()

function engineCapabilities(engine): EngineCapabilities;

What this engine can compute, over what span, from which source -- derived from the loaded EngineData plus the measured-range table. Use it to distinguish tiers at runtime (browser embedded vs Node with packs) instead of assuming the headline applies to every body.

Parameters

ParameterTypeDescription
engineEngineThe engine to introspect.

Returns

EngineCapabilities

Per-body sources with validated and fitted spans.

Start building

Quickstart →