isSignal
isSignal(value) is a nominal runtime guard that narrows recognized Pibbl signal
objects to Signal<unknown>. It recognizes writable
signals, cached readonly views, and computed signals without accepting arbitrary
objects that merely expose a get method.
Related type: Signal.
API details from source
Section titled “API details from source”
Checks the nominal Pibbl signal identity rather than accepting objects that merely have a get method.
isSignal: (value: unknown) => value is Signal<unknown>Related API: isSignal, Signal.
Parameters
Section titled “Parameters”value— Value to check for Pibbl’s nominal signal brand.
Returns
Section titled “Returns”True if the value is a Pibbl signal, narrowing its type accordingly. See Signal.
See also
Section titled “See also”View source — packages/core/src/lib/signals/graph.ts:1148
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Authoring, signals, and lifecycle companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Read and update signals: Use writable, readonly, and computed values with synchronous batching. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 272a94a. ALPHA — NOT FOR PRODUCTION USE.