core / type

MaybeSignalValue

A union type representing a signal, non-signal, or plain value.

Source: src/_core/types.ts

A union type representing a signal, non-signal, or plain value.

This is the most permissive type for values that may or may not be signalified.

Signature

export type MaybeSignalValue<T> = T | NonSignal<T> | Signal<T>;

Type Parameters

  • The type of value

See Also