MCPcopy
hub / github.com/adrianhajdin/project_chat_application / getUser

Function getUser

server/users.js:25–25  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

23}
24
25const getUser = (id) => users.find((user) => user.id === id);
26
27const getUsersInRoom = (room) => users.filter((user) => user.room === room);
28

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected