def local

bend-lint-pack@0.1.1.0 · common.bend:86

import bend-lint-pack@0.1.1.0/common.bend as Common
import Base

86# Names
87# =====
88# The part of a global name after its file's namespace: `b:helper` is `helper`.
89def local(+name: String) -> String:
90  Maybe.default(&2, String, List.last(&2, String, String.split(name, ':')), name)

Uses (5)

Used by (2)