MCPcopy Create free account
hub / github.com/codemistic/Web-Development / getUser

Function getUser

Chat_app/src/utils/users.js:41–43  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

39}
40
41const getUser = (id) => {
42 return users.find((user) => user.id == id)
43}
44
45const getUsersInRoom = (room) => {
46 room = room.trim().toLowerCase()

Callers 1

index.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected