Cred.expired: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/usage/cred.bend as Cred Lines 92-95 of cswap-bend-cli@0.1.0.0/usage/cred.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/usage/cred.bend&start_line=92&end_line=95 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # is_oauth_token_expired: now + 5 min >= expiresAt (ms). Missing or # non-numeric is not expired. def expired(+o: Json.Json, +now: U32) -> Bool: exp.num(Maybe.default(&2, Json.Json, Json.get("expiresAt", o), Json.JNull{}), now) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=get https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/cred.bend&name=exp.num