Skip to content

smartprocure/dupes-of-hazard

Repository files navigation

dupes-of-hazard

Dukes of Hazard

Given an array of values, return all the values that are duplicated.

import { getDupes } from 'dupes-of-hazard'

const arr = [['id'], ['foo'], ['id'], ['bar']]
getDupes(arr)
// new Set([['id']])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published