def all

bendvy-ecs-core@0.1.0.4 · machine.bend:179

import bendvy-ecs-core@0.1.0.4/machine.bend as Machine
import Base

179# Arbitrary public variadic combinations become a structural Boolean tree.
180# Empty and/or preserve the primary API identities.
181def all(~V: Data,items: List<&2,Condition<V>>) -> Condition<V>:
182  match items:
183    case Nil{}: Constant{True{}}
184    case Con{head,tail}: And{head,all(~V,tail)}

Uses (3)

Used by (0)

No other definition uses this definition.