def registration_matches
bendvy-ecs-core@0.1.0.4 · world.bend:336
import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base
336
337
338def registration_matches(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>,+id: U32,+name: String,+access: List<&2,String>) -> World<S,C,R,E> & Bool:
339 match world:
340 case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock},registration_list_matches(registrations,id,name,access))