# libtmux::lookup_of

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/legacy_lookup.hpp#L30
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-lookup_of/

```
libtmux::lookup_of(name: std::string_view) -> expected< StringOp, LookupParseError >
```

`eq` is the implicit lookup, matching Python's bare `field=value`.

An empty name reaches here only from a key that carried no separator at all; a key ending in one is refused before this is asked.
