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(...itemValues: unknown[]): TagValueMatcher;
Parameters
Parameter | Type | Description |
---|---|---|
itemValues | unknown[] | A list of tag item value |
Returns: