static func ..< (Float, Float) -> Range<Float>
Returns a half-open range that contains its lower bound but not its upper bound.
それの下側の境界は含むがそれの上側の境界はそうしない半開範囲を返します。
Availability
Technology
static func ... (minimum: Float
, maximum: Float
) -> ClosedRange
<Float
>
minimum
The lower bound for the range. 範囲の下側の境界。
maximum
The upper bound for the range. 範囲の上側の境界。
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
.
static func ..< (Float, Float) -> Range<Float>