Function filter

  • Operator that filters the output of a node. If the predicate returns false, the emission is canceled.

    Type Parameters

    • I
    • O = I

    Parameters

    • predicate: (value: I) => boolean

    Returns Operator<I, O>