Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function resizeWindowDeviceArgument (name, val) {
nonEmptyStringArgument(name, val);
if (!isValidDeviceName(val))
throw new ActionUnsupportedDeviceTypeError(name, val);
}