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

Add ssv.at method #27

Merged
merged 15 commits into from
Apr 3, 2020
Merged

Add ssv.at method #27

merged 15 commits into from
Apr 3, 2020

Conversation

ryanve
Copy link
Owner

@ryanve ryanve commented Nov 12, 2017

Get the value at the specified positive or negative index

ssv.at("mark tom travis", 0) // "mark"
ssv.at("mark tom travis", 1) // "tom"
ssv.at("mark tom travis", -1) // "travis"
ssv.at("mark tom travis", -2) // "tom"
ssv.at("mark tom travis", 5) // ""

@ryanve
Copy link
Owner Author

ryanve commented Apr 3, 2020

imma merge this to at least have it in ^3.8.0

@ryanve ryanve merged commit 48375db into master Apr 3, 2020
@ryanve ryanve deleted the at branch April 3, 2020 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant