Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
removeSystem(systemOrType) {
let system;
if (isStamp(systemOrType)) {
system = systemOrType;
} else if (isNonEmptyString(systemOrType)) {
system = this._systems.find(s => s.type === systemOrType);
}
if (system) {
this._systemsToRemove.push(system);
}
},
/**