Cli.events_kept: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3038-3042 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3038&end_line=3042 import Base def events_kept(keep: Bool, event: ScanEvent, rest: List<&2, ScanEvent>) -> List<&2, ScanEvent>: match keep: case True{}: event <> rest case False{}: rest Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ScanEvent