# check_operator_misuse

> **Function** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/filters/check_operator_misuse)

Decorator to check for misuse of equality operators.

## Signature

```python
check_operator_misuse(
    func: Callable,
) -> Callable
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/07f60ceba189a48fab5942573cf81e569a7bbf19/libs/aws/langchain_aws/vectorstores/inmemorydb/filters.py#L80)