def moved.of
import ezx@1.11.0.0/src/ez/named.bend as Namedimport 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))))