function isRef<T>(r: Ref<T> | unknown): r is Ref<T>. Note the return type is a type predicate, which means isRef can be used as a type guard:.
確定! 回上一頁