Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var numericAlias = this.list.some(function (def) {
invalidOption = def;
return t.isDefined(def.alias) && t.isNumber(def.alias);
});
if (numericAlias) {
const numericAlias = this.some(def => {
invalidOption = def
return t.isDefined(def.alias) && t.isNumber(def.alias)
})
if (numericAlias) {