def selector

bendvy-ecs-core@0.1.0.4 · ordinary_query_declaration.bend:96

import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as OrdinaryQueryDeclaration
import Base

96# Consume the declaration to obtain its owner-threading row predicate.
97# Selection grants no additional component access and does not enumerate rows.
98def selector(~S:Data,~H:Type,~G:Type,declaration:Declaration<S,H,G>) -> H -> H & Bool:
99  match declaration:
100    case Declaration{_,select,_}:select

Uses (3)

Used by (4)