MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / verify

Function verify

packages/core/application-settings/index.android.ts:11–17  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

9}
10
11function verify(key: string): boolean {
12 if (!common.checkKey(key)) {
13 return false;
14 }
15 ensureSharedPreferences();
16 return true;
17}
18
19export function hasKey(key: string): boolean {
20 if (!verify(key)) {

Callers 8

hasKeyFunction · 0.85
getBooleanFunction · 0.85
getStringFunction · 0.85
getNumberFunction · 0.85
setBooleanFunction · 0.85
setStringFunction · 0.85
setNumberFunction · 0.85
removeFunction · 0.85

Calls 1

ensureSharedPreferencesFunction · 0.85

Tested by

no test coverage detected