def constrain

bendvy-ecs-core@0.1.0.4 · ordinary_check_query.bend:46

import bendvy-ecs-core@0.1.0.4/ordinary_check_query.bend as OrdinaryCheckQuery
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_check_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/inspector_query_projection.bend as Q

46def constrain(~H:Type,~S:Data,~V:Data,~source:Selection<H,S,V>,~filter:Predicate<H,S>) -> Selection<H,S,V>:
47  Selection{Q.constrain(~H,~S,~V,~selected(~H,~S,~V,source),~predicate(~H,~S,filter)),List.append(&2,D.Use,uses(~H,~S,~V,source),predicate_uses(~H,~S,filter))}

Uses (9)

Used by (0)

No other definition uses this definition.