vtils

Home > utils > LocalStoragePlus > get

LocalStoragePlus.get() method

获取本地存储。

Signature:

static get<T extends JsonValue>(key: string, options?: LocalStoragePlusGetOptions): T | null;

Parameters

Parameter Type Description
key string
options LocalStoragePlusGetOptions (Optional) 选项

Returns:

T | null