Type guard to validate if an object has the correct structure for a Laboratorium Discounter price object. Checks for the presence and correct types of all required price properties including regular prices and old prices (for items on sale).
Type guard to validate if an object has the correct structure for a Laboratorium Discounter search response product. Checks for the presence and correct types of all required product properties including basic info, availability, and a valid price object.
Type guard to validate if an object has the correct structure for a Laboratorium Discounter product object. Checks for the presence of a product object with a variants property that is either an object containing variant information or false.
Type guard to validate if an object has the correct structure for Laboratorium Discounter search parameters. Checks for the presence and correct types of required parameters including limit (must be a valid number string) and format (must be "json").
Type guard to validate if a response from the Laboratorium Discounter search API is valid. Checks for the presence and correct types of all required properties including page info, request details, and a valid collection of products.