def has.table

ezx@1.11.0.0 · src/toml/toml.bend:255

import ezx@1.11.0.0/src/toml/toml.bend as Toml
import 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))

Uses (5)

Used by (1)