Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / claimExpiry

Function: claimExpiry()

ts
function claimExpiry(
   claimClass, 
   polarity, 
   observedAt): string;

Defined in: packages/core/dist/index.d.ts

The asymmetric TTL applied to an observedAt ISO date.

Parameters

ParameterType
claimClassClaimClass
polarity"strength" | "weakness"
observedAtstring

Returns

string