Function onlyInstanceOf

  • Filters all values that are not instances of the given class

    Type Parameters

    • A

    Parameters

    • clazz: Newable<A>

      which instances are passed through

    Returns (<B>(source) => Observable<A>)

      • <B>(source): Observable<A>
      • Type Parameters

        • B

        Parameters

        • source: Observable<A | B>

        Returns Observable<A>

Generated using TypeDoc