MCPcopy Create free account
hub / github.com/facebook/Rapid / hasItem

Method hasItem

modules/core/StorageSystem.js:85–87  ·  view source on GitHub ↗

* hasItem * @param k String key to check for existance * @return `true` if the key is set, `false` if not

(k)

Source from the content-addressed store, hash-verified

83 * @return `true` if the key is set, `false` if not
84 */
85 hasItem(k) {
86 return !!this._storage.getItem(k);
87 }
88
89
90 /**

Callers 2

initAsyncMethod · 0.45
uiRapidSplashFunction · 0.45

Calls 1

getItemMethod · 0.45

Tested by

no test coverage detected