def look.last.one

emerging-eztoml@0.9.0.0 · main.bend:2076

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

2076# the newest element. rows stay newest-first until the document is sealed
2077def look.last.one(vv: Val, path: String, older: List<&2, Val>) -> Last:
2078  match vv:
2079    case VAot{_p, rows}:
2080      LastSome{path, older, rows}
2081    case _:
2082      LastNo{"not a table"}

Uses (4)

Used by (1)