Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

TmuxVersion...<(_:_:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Declared in
TmuxVersion
Package
libtmux-swift
..<(_:_:) ( minimum : Self , maximum : Self ) → Range<Self>
functionstatic
functionstatic
..<(_:_:)

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

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

Use the half-open range operator (`..<) to create a range of any type that conforms to theComparableprotocol. This example creates aRange<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`.

0 declared, 0 inherited

Esc

Type to search.