Type guard to validate if an object is a valid Magento 2 product item from a
products.items array. Tolerant of optional/nullable fields so partial data
(missing descriptions, images, etc.) still validates.
Type guard to validate that a response from the Magento 2 GraphQL products
query matches the expected Magento2SearchResponse shape. Logs the parse
failure via console.warn to aid debugging mismatched schemas.
Type guard to validate if an object is a valid Magento 2 Money payload. Verifies that both the numeric
valueand ISOcurrencystring are present.