* Checks whether an option was passed as a getter function. * @param value - The option value. * @returns `true` if `value` is a function.
(value: MaybeRefOrGetter<T>)
| 51 | * @returns `true` if `value` is a function. |
| 52 | */ |
| 53 | function isGetter<T>(value: MaybeRefOrGetter<T>): value is () => T { |
| 54 | return typeof value === 'function' |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * `usePrefetchInfiniteQuery` does not return anything — it fires a prefetch as a reactive side effect, useful |
no outgoing calls
no test coverage detected