libtmux Reference MCP Search
On this page

SafetyTier....(_:_:)

View as Markdown

Declared in
SafetyTier
Package
libtmux-swift
...(_:_:) ( minimum : Self , maximum : Self ) ClosedRange<Self>
functionstatic [source]
functionstatic [source]
...(_:_:)

Returns a closed range that contains both of its bounds.

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

0 declared, 0 inherited

Esc

Type to search.