# FilterLookup.parse(_:as:model:)

- **Module:** FilterLookup
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/FilterLookup.swift#L17
- **Page:** https://libtmux.org/en/swift/latest/reference/filterlookup-parse(_-as-model-)/

```
FilterLookup.parse(_:as:model:)(lookup: String, as: Root.Type, model: String) -> FilterExpr<Root>
```

Builds an expression from one `field__operator=value` lookup.

The model name selects the vocabulary: `"pane"`, `"session"`, and so on.
A field can be named by wire id, Swift property, or tmux format name —
whatever the schema lists as an alias.

## Raises

- `FilterLookupError`
