roc/test/snapshots/repl/list_drop_if.md
2025-11-29 12:54:28 -05:00

195 B

META

description=List.drop_if filters elements where predicate returns false
type=repl

SOURCE

» List.drop_if([1, 2, 3, 4, 5], |x| x > 2)

OUTPUT

[1, 2]

PROBLEMS

NIL