MCPcopy Create free account
hub / github.com/dailydotdev/apps / getFeatureValue

Function getFeatureValue

packages/shared/src/components/GrowthBookProvider.tsx:49–51  ·  view source on GitHub ↗
(feature: Feature<T>)

Source from the content-addressed store, hash-verified

47 ready: false,
48 settled: false,
49 getFeatureValue<T extends JSONValue>(feature: Feature<T>) {
50 return feature.defaultValue as WidenPrimitives<T>;
51 },
52});
53
54export const useFeaturesReadyContext = (): FeaturesReadyContextValue =>

Callers 4

useCoresUsesFunction · 0.50
BoostPostModalFunction · 0.50
BoostSquadModalFunction · 0.50
useSearchProviderFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected