def first_selected_generic

bendvy-ecs-core@0.1.0.3 · execution_lifecycle_notices.bend:141

import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as ExecutionLifecycleNotices
import Base

141def first_selected_generic(-S:Data,found:Bool,row:Row<S>,other:Maybe<&2,Row<S>>) -> Maybe<&2,Row<S>>:
142  match found:
143    case True{}:Some{row}
144    case False{}:other

Uses (3)

Used by (2)