You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type FindResult<T> struct {
idx int
data T
}
Find<T>(data stream<T>) (res FindResult, miss any)
Alternative Idx component
Alternative could be having Idx or Index component for cases where you need index.
However, if you need both idx and data you'll have to chain it with some "Get" component.
Problem is we currently only have lists.Get (I think?) and to use it with Idx one have to pack stream into list which kinda defats the purpose of the stream
Almost same as #289 except
API
Example usage
Output should be
"You found me!"
The text was updated successfully, but these errors were encountered: