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 closed range that contains both of its bounds.

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

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

Description

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.
  • 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