It means that it is an in-out variable . You can do something directly with that variable. It is passed by address, not as a copy.
Read moreWhat is ampersand in Swift?
In Swift, the ampersand (&) indicates that a parameter is being passed inout .
Read moreWhat is pattern matching in Swift?
In Swift, there are two basic kinds of patterns: those that successfully match any kind of value , and those that may fail to match a specified value at runtime. The first kind of pattern is used for destructuring values in simple variable, constant, and optional bindings.
Read moreWhat does A and B mean on Swift?
Equal to operator (==) : It is used to compare two variables. So for a = b == c means. First compare b & c, if they are equal then it returns true to a otherwise it returns false to a . That’s how a is assigned the value.
Read moreWhat does === mean in Swift?
The identical-to operator ( === ) returns false when comparing two references to different object instances, even if the two instances have the same value.
Read moreWhat is XOR in Swift?
A bitwise XOR operation, also known as an exclusive OR operation , results in a value that has each bit set to 1 where one or the other but not both of its arguments had that bit set to 1 .
Read moreWhat are the basic operators?
Operators perform mathematical, string, and logical operations on values . Operands are expressions on which operations are performed.
Read more