MCPcopy
hub / github.com/Unleash/unleash / get

Function get

frontend/src/hooks/api/getters/useFeatureSearch/useFeatureSearch.ts:48–53  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

46 };
47
48 const get = (id: string) => {
49 if (!internalCache[id]) {
50 initCache(id);
51 }
52 return internalCache[id];
53 };
54
55 return (
56 params: SearchFeaturesParams,

Callers 1

createFeatureSearchFunction · 0.70

Calls 1

initCacheFunction · 0.70

Tested by

no test coverage detected