def all

bendvy-ecs-core@0.1.0.3 · machine.bend:134

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

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

Uses (3)

Used by (0)

No other definition uses this definition.