operator ... { associativity precedence } Declarations func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Strideable, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In BinaryFloatingPoint, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In StringProtocol, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In FixedWidthInteger func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Strideable, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Strideable, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Strideable, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Strideable, Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable func ...(_: Self, maximum: Self) Returns a closed range that contains both of its bounds. Use the closed range operator (...) to create a closed range of any type that conforms to the Comparable protocol. This example creates a ClosedRange<Character> from "a" up to, and including, "z". let lowercase = "a"..."z" print(lowercase.contains("z")) // Prints "true" Parameters: minimum: The lower bound for the range. maximum: The upper bound for the range. Declaration func ...(minimum: Self, maximum: Self) -> ClosedRange<Self> Declared In Comparable