Skip to main content

Function: isAgentAuthenticated()

isAgentAuthenticated(agent): agent is Agent

Defined in: web/lib/atproto/record-creator.ts:899

Check if the agent is authenticated and ready for record operations.

Parameters

agent

ATProto Agent or null

null | Agent

Returns

agent is Agent

True if agent is authenticated