The spaces the window with the given ID is on. This is the same as an HSWindow's spaces, for windows you only have the ID of, such as those from HSSpace.windowIDs() (Hammerspoon can't make HSWindow objects for windows on other spaces).
HSWindow
spaces
HSSpace.windowIDs()
The window's ID
An array of HSSpace objects, empty if there's no such window
The spaces the window with the given ID is on. This is the same as an
HSWindow'sspaces, for windows you only have the ID of, such as those fromHSSpace.windowIDs()(Hammerspoon can't makeHSWindowobjects for windows on other spaces).