def name.ok

ezx@1.11.0.0 · src/tool/plan.bend:625

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/ez/named.bend as Named

625# whether a package name can name the link and the binary: none at all, or a
626# TOML bare key, so it holds no `/` and cannot be `..`
627def name.ok(+name: String) -> Bool:
628  Bool.or(String.is_empty(name), Named.bare(name))

Uses (5)

Used by (1)