What is a better buythe Nintendo switch or the iPhone 7?

For more games and other capabilities you can buy the iPhone 7 or if you want a mobile console get the Nintendo Switch