# query.fields.BoolField.not_in

- **Module:** query.fields.BoolField
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/query/fields.rs#L647
- **Page:** https://libtmux.org/en/rs/latest/reference/query-fields-boolfield-not_in/

```
query.fields.BoolField.not_in(self, values: impl IntoIterator<Item = bool>) -> FilterExpr<T>
```

Test exclusion from an ordered set of booleans.

## Example

```rust
use libtmux::query::BoolField;
use libtmux::query::__private;

struct Row;
let field: BoolField<Row> = __private::bool_field("row", "done");
let _ = field.not_in([true]);
```
