def registration_matches
bendvy-ecs-core@0.1.0.3 · world.bend:338
import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
338
339
340def 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:
341 match world:
342 case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},registration_list_matches(registrations,id,name,access))