def namespace
import bendvy-ecs-core@0.1.0.4/world.bend as Worldimport Base
331# Return World and its namespace for engine admission checks, not global provenance.
332def namespace(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>) -> World<S,C,R,E> & U32:
333 match world:
334 case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock},namespace)