Convert a value or a signal to a signal. It's useful to use when you don't know if the value is a signal or a value and you want to use it always as a signal.
Methods
No documentation has been provided.
Presentation transform (value: T | Signal < T > , defaultValue ?: K | undefined , options: { strict : boolean; } = { strict : true }): Signal < K | NonNullable < T >> ;
Parameters Name Type Description value
T | Signal <T>
defaultValue
K | undefined
options
{ strict: boolean; }
Returns Overload #1 No documentation has been provided.
Presentation Parameters Name Type Description value
T | Signal <T>
Returns
Overload #2 No documentation has been provided.
Presentation transform (value: T | Signal < T > , defaultValue: K , options ?: { strict : boolean; } | undefined ): Signal < K | NonNullable < T >> ;
Parameters Name Type Description value
T | Signal <T>
defaultValue
K
options
{ strict: boolean; } | undefined
Returns