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
| Parameter | Type |
|---|---|
tier | StructuredOutputTier |
caps | ModelCaps |
Returns
boolean