def moved.of

ezx@1.11.0.0 · src/ez/named.bend:168

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

168# whether a `--rename` gives a second name to a source the ledger already
169# records as `old`, "" when it records none
170def moved.of(+old: String, +rename: String) -> Bool:
171  Bool.and(Bool.not(String.is_empty(rename)),
172    Bool.and(Bool.not(String.is_empty(old)), Bool.not(String.eq(old, rename))))

Uses (6)

Used by (2)