@adobe/data - v0.10.30
    Preparing search index...

    Function withFilter

    • Creates a new Observe function that converts values, using undefined (or void) as the skip signal. U must not include undefined — if the filter can legitimately produce undefined as a value, use withMap instead and handle absent values downstream.

      Type Parameters

      • T
      • U extends null | {}

      Parameters

      • observable: Observe<T>
      • filter: (value: T) => undefined | void | U

      Returns Observe<U>