You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layoutOf(map, maps, pins) and its answer type OwLayoutOf: the map-space profile's layout reading (rules 8 to 10) for one Map, { layout, ground, hand }. layout is x_layout.method when x_layout is an object whose method is a non-empty string ("hand" for a board; a method no page names answers itself), else null. ground, only on a layout map, is the id in x_layout.settings.ground.map when it names a Map in maps other than this one, else null; its size is not returned. hand is the ids, in code point order, of this Map's Pins a new lay-out keeps: every Pin on a board, the Pins whose x_hand is exactly true on any other layout map, none on a plain Map. pins may hold every Pin the caller has: the reader keeps those whose map names this Map, reads a row without an id as no Pin and the last row served for an id, and counts a Pin whose element it cannot see. The method's own settings are never returned. mapSpace is unchanged.
Tests
The layout reading replays all 17 of the fixture's layout_cases, whole answers in key order, the count held; edge tests beyond the fixture hold code point order (ids above U+FFFF), the row readings and a ground row without an id. layoutOf joins the tree-shaking checks.
Changed
Schema repinned to schema-dist v0.34.0-dist.110 (canonical 00.34.00 unchanged, no schema file moved): the map-space profile gains rules 8 to 10, x_layout on a Map, its ground and x_hand on a Pin, and a layout reading with its own fixture section, layout_cases. The map-space reading and its 34 cases do not change.