Swap-Aggregator-Subgraph/node_modules/pull-stream/docs/throughs/unique.md
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

307 B

pull-stream/throughs/unique

usage

unique = require('pull-stream/throughs/unique')

unique(prop)

Filter items that have a repeated value for prop(), by default, prop = function (it) {return it }, if prop is a string, it will filter nodes which have repeated values for that property.