import { RoomStatus } from "../../../../model/room/Constants" ; export const roomIsRunning = ( roomStatus ) : boolean => { return [ RoomStatus . Paused , RoomStatus . Started ] . includes ( roomStatus ) ; } ; export const roomIsIdle = ( roomStatus ) : boolean => { return roomStatus === RoomStatus . Idle ; } ;