def look.last

emerging-eztoml@0.9.0.0 · main.bend:2084

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

2084# the newest element of an array of tables, and the older elements behind it
2085def look.last(elems: List<&2, Val>, path: String) -> Last:
2086  match elems:
2087    case []:
2088      LastNo{"empty array of tables"}
2089    case h <> t:
2090      look.last.one(h, path, t)

Uses (5)

Used by (1)