Page Contents

Home > @loopback/context > Context > _findByTagIndex

Context._findByTagIndex() method

Find bindings by tag leveraging indexes

Signature:

protected _findByTagIndex<ValueType = BoundValue>(tag: BindingTag | RegExp): Readonly<Binding<ValueType>>[];

Parameters

Parameter Type Description
tag [BindingTag](/doc/en/lb4/apidocs.context.bindingtag.html) \| RegExp Tag name pattern or name/value pairs

Returns:

Readonly<Binding<ValueType>>[]