# 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/434899a049429abd1b68d6e3efe82f58bc729a4f/libs/aws/langchain_aws/vectorstores/inmemorydb/filters.py#L80)