EZSwiftExtensions
EZSwiftExtensions copied to clipboard
Docs example unclear
"I really wonder why someone would prefer array.get(1) over array[1]. (1st example in Readme)"
Read this in reddit, should make the benefits more clear
Are there any array[safe: 1]
or array.safe[1]
? This would really be better than array.get(at: 1)
:)
@piv199 Does the safety criteria involve throwing errors over segfaults ?
@Khalian the same behaviour as get(at:)