Skip to content

Add getOrNil extension to Array#3

Open
jeffmcnd wants to merge 1 commit intomasterfrom
array_funcs
Open

Add getOrNil extension to Array#3
jeffmcnd wants to merge 1 commit intomasterfrom
array_funcs

Conversation

@jeffmcnd
Copy link

This commit adds a convenience method for avoiding index of out bounds
runtime errors. If the index is invalid, you will safely be returned
nil.

This commit adds a convenience method for avoiding index of out bounds
runtime errors. If the index is invalid, you will safely be returned
nil.
@jeffmcnd jeffmcnd requested review from a user and AmirShayegh April 25, 2019 21:53
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