Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
const
getUsersInRoom = (room) => {
46
room = room.trim().toLowerCase()
47
return
users.filter((user) => user.room == room)
48
}
49
50
module.exports = {
51
addUser,
Callers
1
index.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected