libtmux Reference MCP Search
On this page

RegexPattern.Options.rawValue

View as Markdown

Module
RegexPattern
Declared in
Options
Package
libtmux-swift
Source
Sources/LibTmux/RegexPattern.swift
rawValue : let rawValue: UInt8
property [source]
property [source]
rawValue

The corresponding value of the raw type.

A new instance initialized with rawValue will be equivalent to this instance. For example:

enum PaperSize: String { case A4, A5, Letter, Legal }

let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter"

print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

0 declared, 0 inherited

Esc

Type to search.