Skip to main content

isWritableSignal()

isWritableSignal(s): s is Signal<unknown>

Defined in: js-api/src/u2core/signals.ts:13

Whether s is a signal whose value can be written — the two-way gate. A prototype-descriptor check: the vendored Computed defines a getter-only value, so computeds classify read-only without any engine knowledge.

Parameters

ParameterType
sunknown

Returns

s is Signal<unknown>