Property access
Accessing a property creates a derived signal:names.join(", ") returns a signal. Generic JavaScript methods can lose precise inference; use .transform() when TypeScript reports a result such as Signal<unknown[]>.
.transform()
Use .transform() when a result depends on one signal:
.keyBy() or .globally() annotation. Apply the desired partition to the result before passing it to a cross-context operator.
transform()
Use the top-level function when a result depends on several signals:
t
Use the t tagged template to interpolate signals with static values:
t returns Signal<string> and requires at least one signal interpolation. Use an ordinary template literal when every value is already in memory.
isSignal()
isSignal(value) is a TypeScript type guard for reusable helpers that accept either an ordinary value or a signal:
isSignal.
See route and scope work to conditionally materialize derived values, or inspect outcomes to turn closure and failure into values.