Skip to main content

bn.removeStorageSync

removeStorageSync(key): void

description Removes the specified item from the local cache key.

example

try {
bn.removeStorageSync('key')
} catch (error) {
// From the something when catch error
}

Parameters

NameType
keystring

Returns

void