(value: any)
| 111 | } |
| 112 | |
| 113 | export function isRef<T>(value: any): value is Ref<T> { |
| 114 | return value instanceof RefImpl |
| 115 | } |
| 116 | |
| 117 | export function unref<T>(ref: T | Ref<T>): T { |
| 118 | return isRef(ref) ? (ref.value as any) : ref |
no outgoing calls
searching dependent graphs…