Whether the badge is showing price drops.
The badge's current text
True when it was set by showDropBadge
isDropBadgeText('↓2'); // trueisDropBadgeText('2'); // false Copy
isDropBadgeText('↓2'); // trueisDropBadgeText('2'); // false
export function isDropBadgeText(text: string): boolean { return text.startsWith(DROP_PREFIX);} Copy
export function isDropBadgeText(text: string): boolean { return text.startsWith(DROP_PREFIX);}
Whether the badge is showing price drops.