@tempots/dom
Signal.filterMap property
Returns a new Computed object that applies the provided mapping function to the value of this Signal, and filters out values that are undefined
or null
.
Signature:
readonly filterMap: (fn: (value: T) => O | undefined | null, startValue: O, equals?: (a: O, b: O) => boolean) => Computed;