function / @typed/fx/RefSubject

isComputed

Tests whether a value carries the public Computed TypeId.

Package version
2.0.0-beta.13
Category
Type guards
Since
1.18.0

Import

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

Signatures

export declare function isComputed(value: any): value is Computed<any, any, any>;

Why

Uses the TypeId contract rather than a concrete implementation class, so custom Computed values and service facades participate in the same runtime guard.

Ownership and lifetime

This synchronous predicate performs no Effect, subscription, or acquisition.

Other public imports

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

Source