storageHasKeyRaw

apiDocs


near-sdk-js v2.0.0 / api / storageHasKeyRaw

Function: storageHasKeyRaw()

storageHasKeyRaw(key): boolean

Checks for the existence of a value under the provided key in NEAR storage.

Parameters

key: Uint8Array

The key to check for in storage.

Returns

boolean

Defined in

packages/near-sdk-js/src/api.ts:310

Last updated