@tempots/dom

Signal.flatMap property

Returns a new Signal that applies the given function to the value of the current Signal, and then flattens the resulting Signal.

Signature:

readonly flatMap: (fn: (value: T) => Signal, equals?: (a: O, b: O) => boolean) => Computed;