def unbend

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

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

169# a module path without its `.bend`, which is how bend names the module
170def unbend(+path: String) -> String:
171  Bool.pick(String, String.ends_with(path, ".bend"),
172    String.take(path, Nat.sub(String.length(path), 5n)), path)

Uses (6)

Used by (4)