Type alias ProtocolFilterFn<T>

ProtocolFilterFn<T>: ((data: T | null) => boolean)

Type Parameters

  • T = unknown

Type declaration

    • (data: T | null): boolean
    • ProtocolFilterFn allows filtering of values that shouldn't be presented to the iterator. ProtocolFilterFn is executed when a value is about to be presented

      Returns

      boolean: true if the value should presented to the iterator

      Parameters

      • data: T | null

      Returns boolean

Generated using TypeDoc