# io.github.libtmux.kotlin.query.TextField

- **Module:** io.github.libtmux.kotlin.query
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/query/Fields.kt#L13
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-query-textfield/

```
@JvmInline
public value class TextField<T : Any>
```

Kotlin-idiomatic wrappers over [Fields]' typed field handles, each holding the Java handle it wraps. A value class, so this costs nothing beyond the Java object it already holds — the same choice [io.github.libtmux.kotlin.Server]'s live handles reject, made here on purpose: a field handle carries exactly one property, which is what makes the boxing tradeoff free.

## Members

### Common operations

- `contains` (method)
- `endsWith` (method)
- `matches` (method)
- `oneOf` (method)
- `startsWith` (method)

### Other members

- `eq` (method)
- `ne` (method)
