Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Add support for Array.find and/or Array.indexWhere #101

Open
adam-wyluda opened this issue Mar 11, 2016 · 2 comments
Open

Add support for Array.find and/or Array.indexWhere #101

adam-wyluda opened this issue Mar 11, 2016 · 2 comments
Labels
Milestone

Comments

@adam-wyluda
Copy link
Contributor

Find first element fulfilling given predicate. If no value is found then it will return either empty/null value of data class or empty Option proposed in #100.

@adam-wyluda
Copy link
Contributor Author

Alternatively we could have Array.indexWhere which returns index of the found element or -1 in other case.

@adam-wyluda adam-wyluda changed the title Consider adding support for Array.find Consider adding support for Array.find and/or Array.indexWhere Mar 14, 2016
@densh densh added the Feature label Mar 15, 2016
@densh
Copy link
Owner

densh commented Mar 17, 2016

👍

@densh densh added this to the 0.2 milestone Mar 17, 2016
@adam-wyluda adam-wyluda changed the title Consider adding support for Array.find and/or Array.indexWhere Add support for Array.find and/or Array.indexWhere Mar 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants