def base.last

ezx@1.11.0.0 · src/pkg/path.bend:114

import ezx@1.11.0.0/src/pkg/path.bend as Path
import Base

114# the last component of a path
115def base.last(ps: List<&2, String>) -> String:
116  match ps:
117    case []:
118      ""
119    case +h <> t:
120      base.go(t, h)

Uses (3)

Used by (1)