vtils

Home > utils > LocalStoragePlus > has

LocalStoragePlus.has() method

是否存在本地存储。

Signature:

static has(key: string, options?: LocalStoragePlusGetOptions): boolean;

Parameters

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

Returns:

boolean