Dmitri Pavlutin 10/25/2016

Useful Details About Underscore Keyword in Swift

Read Original

This article details the underscore (_) keyword in Swift, focusing on its role as a wildcard pattern. It covers how to omit argument labels in function calls and ignore tuple components during extraction, providing code examples to illustrate reducing redundancy and improving code readability.

Useful Details About Underscore Keyword in Swift

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week