@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
24 lines (16 loc) • 776 B
Markdown
lang: en
title: 'API docs: context.contextobserver.filter'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.contextobserver.filter.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ContextObserver](./context.contextobserver.md) > [filter](./context.contextobserver.filter.md)
## ContextObserver.filter property
An optional filter function to match bindings. If not present, the listener will be notified of all binding events.
<b>Signature:</b>
```typescript
filter?: BindingFilter;
```