module.exports.contain = function contain(selected, value) {
  return selected.indexOf(value) > -1;
}

module.exports.getClassName = function (selected, option) {
  if (!option) return '';
  if (option.disabled) return 'card--disabled';
  return selected.indexOf(option.value) > -1 ? 'card--active' : '';
}