function / @typed/fx/RefSubject

isHydrationRef

Tests whether a value carries callable hydration metadata.

Package version
2.0.0-beta.7
Category
Type guards
Since
2.0.0

Import

import { isHydrationRef } from "@typed/fx/RefSubject";

Signatures

export declare function isHydrationRef(value: unknown): value is HydrationRef<any, any>;

Why

Detects hydration capability by its public TypeId instead of relying on a concrete class or renderer.

Ownership and lifetime

This declaration acquires no resources. Effects represented by the contract retain their own services and Scope requirements.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source