Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static isDCElement(data) {
return has(data, 'term') && elements.indexOf(data.term) > -1
}
static isDCTerm(data) {
return has(data, 'term') && terms.indexOf(data.term) > -1
}