RestoreData.lookup_choose: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/restore_data.bend as RestoreData Lines 34-37 of bendvy-ecs-core@0.1.0.3/restore_data.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/restore_data.bend&start_line=34&end_line=37 import Base import bendvy-ecs-core@0.1.0.3/world.bend as W def lookup_choose(~S:Data,equal:Bool,target:W.Handle,next:Unit -> Maybe<&2,W.Handle>) -> Maybe<&2,W.Handle>: match equal: case True{}:Some{target} case False{}:next(Unit{}) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=Handle