# hooks.SparseValues.first

- **Module:** hooks.SparseValues
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/hooks.rs#L108
- **Page:** https://libtmux.org/en/rs/latest/reference/hooks-sparsevalues-first/

```
hooks.SparseValues.first(self) -> Option<&T>
```

The value at the lowest index, which is what a write without one sets.

The lowest index rather than index `0`, because a set whose slot `0`
was removed still has a first value.
