Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dropRight operation #44

Open
ivancorrales opened this issue Jan 15, 2019 · 0 comments
Open

dropRight operation #44

ivancorrales opened this issue Jan 15, 2019 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@ivancorrales
Copy link
Member

This operations will be used to drop elements in the steam on the right of the given element

var elements = []int{10,12,7,41,5,6}
res:=koazee.StreamOf(elements).DropRight(12).Out().Val()
fmt.Println(res)

// [10,12]
@ivancorrales ivancorrales added the good first issue Good for newcomers label Jan 15, 2019
@ivancorrales ivancorrales added this to the 1.0.0 milestone Jan 16, 2019
This was referenced Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant