static func ... (Float, Float) -> ClosedRange<Float>
Returns a closed range that contains both of its bounds.
それの境界の両方を含む完結範囲を返します。
Availability
Technology
minimum
The lower bound for the range. 範囲の下側の境界。
maximum
The upper bound for the range. 範囲の上側の境界。
Use the half-open range operator (..<
) to create a range of any type that conforms to the Comparable
protocol. This example creates a Range<Double>
from zero up to, but not including, 5.0.
半開範囲演算子(..<
)を使ってComparable
プロトコルに準拠する何らかの型の配列を作成します。この例は、ゼロから5.0までの、しかしそれを含めないRange<Double>
を作成します。
Precondition: minimum <= maximum
.
static func ... (Float, Float) -> ClosedRange<Float>