def composed_runtime_match_right
bendvy-ecs-core@0.1.0.4 · inspector_query.bend:219
import bendvy-ecs-core@0.1.0.4/inspector_query.bend as InspectorQuery
import Base
import world.bend as W
219
220
221
222
223
224def composed_runtime_match_right(~H:Type,~S:Data,~A:Data,~Arg:Data,~relation_matches:Arg -> H -> W.Handle<S> -> H & Bool,+target:W.Handle<S>,argument:Arg,observed:H & Bool) -> H & Bool:
225 match observed:
226 case (owner,False{}):(owner,False{})
227 case (owner,True{}):relation_matches(argument,owner,target)