@orangecheck/pledge-core / isoUtcGreaterThan
Function: isoUtcGreaterThan()
function isoUtcGreaterThan(a: string, b: string): boolean;
Defined in: pledge-core/src/delegation.ts:149
Compare two strict ISO 8601 UTC timestamps (YYYY-MM-DDTHH:MM:SSZ).
Returns true iff a is strictly later than b. Lexicographic compare
works because the format is fixed-width.
Parameters
| Parameter | Type |
|---|---|
a | string |
b | string |
Returns
boolean