Created
November 20, 2019 11:09
-
-
Save stevencurtis/57e66dd0fcc659a53ff8129074b39a5d to your computer and use it in GitHub Desktop.
indicies.contains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if array.indices.contains(3) { | |
print (array[3]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment