Page Contents

Home > @loopback/context > includesTagValue

includesTagValue() function

Create a tag value matcher function that returns true if the target tag value equals to the item value or is an array that includes the item value.

Signature:

export declare function includesTagValue(itemValue: unknown): TagValueMatcher;

Parameters

Parameter Type Description
itemValue unknown Tag item value

Returns:

TagValueMatcher