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

Function getUsersInRoom

Chat_app/src/utils/users.js:45–48  ·  view source on GitHub ↗
(room)

Source from the content-addressed store, hash-verified

43}
44
45const getUsersInRoom = (room) => {
46 room = room.trim().toLowerCase()
47 return users.filter((user) => user.room == room)
48}
49
50module.exports = {
51 addUser,

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected