mapSignal

G
W

This creates a signal whose input value is automatically mapped to an output value. The selector function can include signals or can be mapped directly from an array of signals, observables or functions.

The writable version of this signal is basically just a writable signal combined with a computed function, while the version that accepts multiple signal-like sources (signals, observables, computed functions, etc...) is essentially just a computed signal that has more brevity in certain circumstances.

A Writable Mapped Signal and Map from other Signals