def whole_combine

bendvy-ecs-core@0.1.0.3 · execution_query_lifecycle.bend:32

import bendvy-ecs-core@0.1.0.3/execution_query_lifecycle.bend as ExecutionQueryLifecycle
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as L

32def whole_combine(~S:Data,~layout:L.Layout,left:Bool,and:Bool,result:L.columns(~S,layout) & Bool) -> L.columns(~S,layout) & Bool:
33  match and result:
34    case True{}, (owner,right):(owner,Bool.and(left,right))
35    case False{}, (owner,right):(owner,Bool.or(left,right))

Uses (7)

Used by (1)