def look.of

emerging-eztoml@0.9.0.0 · main.bend:2046

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

2046# the value a key already holds
2047def look.of(vv: Val) -> Look:
2048  match vv:
2049    case VHead{path, rows}:
2050      KHead{path, rows}
2051    case VInl{_rows}:
2052      KInl{}
2053    case VAots{path, elems}:
2054      KAots{path, elems}
2055    case _:
2056      KNo{"not a table"}

Uses (2)

Used by (1)