Type guard to validate if an unknown value is a valid WooCommerce SearchResponse. Checks if the value is an array and all items are valid SearchResponseItems.
Type guard to validate if an unknown object is a valid WooCommerce WooCommerceProductVariant. Checks if the object is a valid SearchResponseItem and has the required variant properties.
Type guard to validate if a product response contains all required variant information. Extends the basic WooCommerceProductVariant validation with additional required properties for complete variant data.
Type guard to validate if an unknown object is a valid SearchResponseItem from WooCommerce. Checks for the presence and correct types of all required properties including nested price information.