Is there a function to filter a list in the standard library? i could not find anything
You can use List.keepIf: https://www.roc-lang.org/builtins/List#keepIf
List.keepIf
Got it, thanks!
Last updated: Jan 12 2026 at 12:19 UTC