def predicate_field
import bendvy-ecs-core@0.1.0.3/inspector_query_projection.bend as InspectorQueryProjectionimport Base
import world.bend as W
72# Advanced projection extracting the closed predicate operation without
73# invoking it or validating a World/target.
74def predicate_field(~H:Type,~S:Data,value:Predicate<H,S>) -> H -> W.Handle<S> -> H & Bool:
75 match value:
76 case Predicate{matches}:matches