Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
toSignal
Function toSignal
Convert a value to a Signal if it's not already a Signal
Since
0.9.6
toSignal
<
T
extends
{}
>
(
value
:
MaybeSignal
<
T
>
|
ComputedCallbacks
<
T
,
[
]
>
,
)
:
Signal
<
T
>
Type Parameters
T
extends
{}
Parameters
value
:
MaybeSignal
<
T
>
|
ComputedCallbacks
<
T
,
[
]
>
value to convert to a Signal
Returns
Signal
<
T
>
converted Signal
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
Loading...
Convert a value to a Signal if it's not already a Signal
Since
0.9.6