@proto-kit/sequencer • Docs
Documentation / @proto-kit/sequencer / distinctByPredicate
Function: distinctByPredicate()
distinctByPredicate<
Value>(predicate): (value,index,array) =>boolean
Type Parameters
• Value
Parameters
• predicate
Returns
Function
Parameters
• value: Value
• index: number
• array: Value[]
Returns
boolean