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 | RegExp Tag name pattern or name/value pairs

Returns:

Readonly<Binding<ValueType>>[]