def lookup

bendvy-ecs-core@0.1.0.3 · inspector.bend:47

import bendvy-ecs-core@0.1.0.3/inspector.bend as Inspector
import Base
import world.bend as W

47# Look up a handle through a declared Inspector capability, returning its
48# affine owner and detached Access/lifecycle flags. Stale or foreign handles
49# are MissingEntity through canonical family lookup, not an absent component.
50def lookup(~H:Type,~S:Data,~V:Data,~cap:Lookup<H,S,V>,ctx:H,target:W.Handle<S>) -> H & Value<V>:
51  lookup_field(~H,~S,~V,cap)(ctx,target)

Uses (5)

Used by (0)

No other definition uses this definition.