MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isUserInfoEmpty

Function isUserInfoEmpty

packages/cli/src/auth/user.ts:30–32  ·  view source on GitHub ↗
(u: StoredUserInfo)

Source from the content-addressed store, hash-verified

28
29/** True when `u` carries no friendly fields worth surfacing. */
30export function isUserInfoEmpty(u: StoredUserInfo): boolean {
31 return !u.email && !u.first_name && !u.last_name && !u.username;
32}
33
34/**
35 * Most friendly name available, in priority order:

Callers 4

saveUserInfoFunction · 0.85
loadUserInfoFunction · 0.85
user.test.tsFile · 0.85
persistUserInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected