Page Contents

Home > @loopback/context > filterByTag

filterByTag() function

Create a binding filter for the tag pattern

Signature:

export declare function filterByTag(tagPattern: BindingTag | RegExp): BindingFilter;

Parameters

Parameter Type Description
tagPattern BindingTag | RegExp Binding tag name, regexp, or object

Returns:

BindingFilter