Grep #163
Locked
maxatome
started this conversation in
Suggestions for new operators
Grep
#163
Replies: 2 comments
-
Implemented in branch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
usage:
Grep
would be a smuggler operator allowing to reduce a slice before comparing its content.Accepted input: any slice or array.
Output: slice
If the input is
[]T
or[n]T
,FILTER
could be:func (T) bool
Examples of use:
Used for an array:
Beta Was this translation helpful? Give feedback.
All reactions