Whether a storage key holds a price alert, for change listeners.
The storage key
True for an alert's key
isPriceAlertKey('price_alert:3f9c2a'); // trueisPriceAlertKey('user_settings'); // false Copy
isPriceAlertKey('price_alert:3f9c2a'); // trueisPriceAlertKey('user_settings'); // false
export function isPriceAlertKey(key: string): boolean { return key.startsWith(priceAlertKey(''));} Copy
export function isPriceAlertKey(key: string): boolean { return key.startsWith(priceAlertKey(''));}
Whether a storage key holds a price alert, for change listeners.