Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / tierWithinCaps

Function: tierWithinCaps()

ts
function tierWithinCaps(tier, caps): boolean;

Defined in: packages/core/src/model/caps.ts:96

True when tier is at or below the model's declared ceiling.

Parameters

ParameterType
tierStructuredOutputTier
capsModelCaps

Returns

boolean