def has.table
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport Base
import emerging-eztoml@0.9.0.0/main.bend as E
255# whether a table's rows hold a table, stopping at the first
256def has.table(rows: List<&2, E.Val>) -> Bool:
257 match rows:
258 case []:
259 False{}
260 case hd <> tl:
261 has.table.step(row.table(hd), _u => has.table(tl))