We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2f7bf8 + 0ecbcfc commit d5fa463Copy full SHA for d5fa463
examples/filter.janet
@@ -0,0 +1,7 @@
1
+(filter pos? [1 2 3 0 -4 5 6]) # -> @[1 2 3 5 6]
2
+
3
+(filter |(> (length $) 3) ["hello" "goodbye" "hi"]) # -> @["hello" "goodbye"]
4
5
+(filter |(< (chr "A") $) "foo01bar") # -> @[102 111 111 98 97 114]
6
7
+(string/from-bytes ;(filter |(< (chr "A") $) "foo01bar")) # -> "foobar"
0 commit comments