Home > widget-integration > FilterHelper > isValidPriceHTML
FilterHelper.isValidPriceHTML() method
Validates if HTML contains actual price data (has digits)
Signature:
isValidPriceHTML(html?: string): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
html |
string |
(Optional) HTML string to validate |
Returns:
boolean
true if HTML contains at least one digit