MCPcopy Create free account
hub / github.com/NativeScript/template-macos-solid / get

Function get

src/examples/todo.tsx:10–12  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

8 NSUserDefaults.standardUserDefaults.setObjectForKey(value, key);
9 },
10 get(key: string) {
11 return NSUserDefaults.standardUserDefaults.objectForKey(key);
12 },
13 remove(key: string) {
14 NSUserDefaults.standardUserDefaults.removeObjectForKey(key);
15 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected