MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isAuthCodeExpired

Function isAuthCodeExpired

freebuff/web/src/app/onboard/_helpers.ts:133–136  ·  view source on GitHub ↗
(expiresAt: string)

Source from the content-addressed store, hash-verified

131}
132
133export function isAuthCodeExpired(expiresAt: string): boolean {
134 const expiresAtMs = Number(expiresAt)
135 return !Number.isFinite(expiresAtMs) || expiresAtMs < Date.now()
136}

Callers 3

OnboardFunction · 0.90
helpers.test.tsFile · 0.90
LoginPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected