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 06 2025 at 12:14 UTC