The lower bound for the range. 範囲の下側の境界。
Operator
演算子
...(_:
...(_:_:)
Returns a closed range that contains both of its bounds.
それの境界の両方を含む完結範囲を返します。
Availability
- iOS 8.0+
- iPadOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.2+
Technology
- Swift Standard Library Swift標準ライブラリ
Declaration 宣言
static func ... (minimum: Unicode
.CanonicalCombiningClass
, maximum: Unicode
.CanonicalCombiningClass
) -> ClosedRange
<Unicode
.CanonicalCombiningClass
>
Parameters パラメータ
minimum
maximum
The upper bound for the range. 範囲の上側の境界。
Discussion 解説
Use the closed range operator (...
) to create a closed range of any type that conforms to the Comparable
protocol. This example creates a Closed
from “a” up to, and including, “z”.
完結範囲演算子(...
)を使ってComparable
プロトコルに準拠する何らかの型の配列を作成します。この例は、「a」から「z」までの、そしてそれを含むClosed
を作成します。
Precondition: minimum <= maximum
.