Skip to content

@serenity-is/corelib / isWritableSignal

Function: isWritableSignal()

isWritableSignal<T>(obj): obj is Signal<T>

Defined in: ../domwise/dist/index.d.ts:3195

A type guard that checks if an object is a writable signal, meaning it passes the isSignalLike check and the value property has a setter or is writable.

Type Parameters

T

T

Parameters

obj

any

The object to check.

Returns

obj is Signal<T>

true if the object is a writable signal.