Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-swift

TmuxVersion...<(_:_:)

Returns a half-open range that contains its lower bound but not its upper bound.

Source and package
Qualified name
TmuxVersion...<(_:_:)
Declared in
TmuxVersion
Package
libtmux-swift
..<(minimum: Self, maximum: Self) -> Range<Self>

Inherited from Comparable...<(_:_:)

Description

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.

let lessThanFive = 0.0..<5.0 print(lessThanFive.contains(3.14)) // Prints "true" print(lessThanFive.contains(5.0)) // Prints "false"

  • Parameters:
    • minimum: The lower bound for the range.
    • maximum: The upper bound for the range.
  • Precondition: minimum <= maximum.
Parameters

Recorded calls

source calls
No call edges in the Swift model.

The Swift reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls TmuxVersion...<(_:_:).

Esc
Search in

Type to search.

Reference previewOpen reference