SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/nomenclature/new_taxon_name/helpers/findPosition.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function (list, name) {
  return list.findIndex(item => {
    if (item.name == name) {
      return true
    }
  })
}