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: Jul 23 2026 at 13:15 UTC