芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/public_html/node_modules/@popperjs/core/lib/utils/uniqueBy.js.flow
// @flow export default function uniqueBy
(arr: Array
, fn: T => any): Array
{ const identifiers = new Set(); return arr.filter(item => { const identifier = fn(item); if (!identifiers.has(identifier)) { identifiers.add(identifier); return true; } }); }