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

Function remove

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

Source from the content-addressed store, hash-verified

110}
111
112export function remove(key: string): void {
113 if (!verify(key)) {
114 return;
115 }
116 const editor = sharedPreferences.edit();
117 editor.remove(key);
118 editor.apply();
119}
120
121export function clear(): void {
122 ensureSharedPreferences();

Callers

nothing calls this directly

Calls 4

verifyFunction · 0.85
editMethod · 0.45
removeMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected