We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
it is a variable created by the compiler, which is a mutable reference to the current entry within an each-in loop
it
each-in
each String in names { print("Hello " + it + "!") }
The name of it can be overridden by specifying a name before the element type in an each-in loop
each firstname String in names { print("Hello " + firstname + "!") }
Table of Contents