MCPcopy Create free account
hub / github.com/TanStack/query / toValueDeep

Function toValueDeep

packages/vue-query/src/utils.ts:113–115  ·  view source on GitHub ↗
(source: (() => T) | MaybeRefDeep<T>)

Source from the content-addressed store, hash-verified

111}
112
113export function toValueDeep<T>(source: (() => T) | MaybeRefDeep<T>): T {
114 return isFunction(source) ? source() : cloneDeepUnref(source)
115}

Callers

nothing calls this directly

Calls 2

isFunctionFunction · 0.85
cloneDeepUnrefFunction · 0.85

Tested by

no test coverage detected