def said.one

ezx@1.11.0.0 · src/doctor/plan.bend:1010

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/plan.bend as P

1010# whether an effect says this line
1011def said.one(effect: P.Effect, +line: String) -> Bool:
1012  match effect:
1013    case P.Say{text}:
1014      String.eq(text, line)
1015    case P.Write{_at, _text}:
1016      False{}
1017    case P.Lay{_place, _hash, _files}:
1018      False{}
1019    case P.Drop{_hash}:
1020      False{}
1021    case P.Name{_nv, _hash}:
1022      False{}

Uses (4)

Used by (1)