Home > utils > LocalStoragePlus > has
是否存在本地存储。
Signature:
static has(key: string, options?: LocalStoragePlusGetOptions): boolean;
Parameter | Type | Description |
---|---|---|
key | string | 键 |
options | LocalStoragePlusGetOptions | (Optional) 选项 |
Returns:
boolean