pub fn describe_exits(room_name: RoomName) -> JsHashMap<Direction, RoomName>
Get an object with information about the exits from a given room, with JsString versions of direction integers as keys and JsString room names as values.
JsString
Screeps documentation