Home > utils > LocalStoragePlus > get
获取本地存储。
Signature:
static get<T extends JsonValue>(key: string, options?: LocalStoragePlusGetOptions): T | null;
Parameter | Type | Description |
---|---|---|
key | string | 键 |
options | LocalStoragePlusGetOptions | (Optional) 选项 |
Returns:
T | null