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

Method get

packages/core/ui/image-cache/index.ios.ts:80–82  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

78 }
79
80 public get(key: string): any {
81 return this._cache.objectForKey(key);
82 }
83
84 public set(key: string, image: any): void {
85 this._cache.setObjectForKey(image, key);

Callers 2

test_ImageCache_ValidUrlFunction · 0.95

Calls 1

objectForKeyMethod · 0.80

Tested by

no test coverage detected