FunctionsChatSearchMatchesTermsChatSearchMatchesTerms CallableChatSearchMatchesTerms(Room: { Name: string }, Terms: string[]): booleanCheck if a room matches filtered-out terms and should thus be hidden. Also used when deciding which terms need to be removed from the filter option in order to make a room be no longer hidden. Only checks the room name, not the description.ParametersRoom: { Name: string }the room object to checkName: stringTerms: string[]list of terms to checkReturns booleantrue if room matches, false otherwise
Check if a room matches filtered-out terms and should thus be hidden. Also used when deciding which terms need to be removed from the filter option in order to make a room be no longer hidden. Only checks the room name, not the description.