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
Member of
RefSubject

Import

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

Access RefSubject.isHydrationRef through the imported RefSubject export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

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