MCPcopy Create free account
hub / github.com/firebase/codelab-friendlychat-web / getUserName

Function getUserName

web/src/index.js:79–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78 // Returns the signed-in user's display name.
79 function getUserName() {
80 return getAuth().currentUser.displayName;
81 }
82
83 // Returns true if a user is signed-in.
84 function isUserSignedIn() {

Callers 3

saveMessageFunction · 0.70
saveImageMessageFunction · 0.70
authStateObserverFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected