rulvar API reference / @rulvar/rulvar / claimExpired
Function: claimExpired()
ts
function claimExpired(claim, at): boolean;Defined in: packages/core/dist/index.d.ts
True when the claim steers nothing at at (the read-path filter).
Parameters
| Parameter | Type |
|---|---|
claim | Pick<ModelClaim, "expiresAt"> |
at | string |
Returns
boolean