| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.findDuplicates = findDuplicates; | |
| function findDuplicates(items) { | |
| const seen = new Set(); | |
| const duplicates = []; | |
| for (const item of items) { | |
| if (seen.has(item)) { | |
| duplicates.push(item); | |
| } | |
| seen.add(item); | |
| } | |
| return duplicates; | |
| } | |
| //# sourceMappingURL=search.js.map |