import type { PlaylistOption } from 'features/MatchPage/types'

export const isEqual = (target: PlaylistOption, selected?: PlaylistOption) => (
  target.id === selected?.id && target.type === selected.type
)
