interface ProductSearchMatchingVariants {
    allMatched: boolean;
    matchedVariants: ProductSearchMatchingVariantEntry[];
}

Properties

allMatched: boolean

Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always false for search expressions on Variant-level fields.

The variants matching the search criteria or empty if all matched.