def get

bendvy-ecs-core@0.1.0.3 · indexed_lifecycle.bend:24

import bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend as IndexedLifecycle
import Base
import lifecycle.bend as L

24def get(metadata:Metadata,+id:U32) -> Metadata & L.Stamp:
25  match metadata:
26    case Metadata{added,changed,+capacity,depth,exceptional}: get_checked(id,added,changed,capacity,depth,exceptional,normal(id),U32.is_le(id,capacity))

Uses (7)

Used by (4)