Files
WAI_Project_VUE/node_modules/@vue/test-utils/dist/utils/isDeepRef.d.ts
2025-11-24 23:24:06 +08:00

12 lines
409 B
TypeScript

import type { DeepRef } from '../types';
/**
* Checks if the given value is a DeepRef.
*
* For both arrays and objects, it will recursively check
* if any of their values is a Ref.
*
* @param {DeepRef<T> | unknown} r - The value to check.
* @returns {boolean} Returns true if the value is a DeepRef, false otherwise.
*/
export declare const isDeepRef: <T>(r: DeepRef<T> | unknown) => r is DeepRef<T>;