rulvar API reference / @rulvar/rulvar / tierWithinCaps
Function: tierWithinCaps()
ts
function tierWithinCaps(tier, caps): boolean;Defined in: packages/core/dist/index.d.ts
True when tier is at or below the model's declared ceiling.
Parameters
| Parameter | Type |
|---|---|
tier | StructuredOutputTier |
caps | ModelCaps |
Returns
boolean