You’ve most likely heard of an if statement, think of switch cases to be the more advanced form of a if.
String interpolation is just some fancy term for combining variables and constants within a string.
For example a string like so:
When you want your code to execute only if a certain condition is true then you can use an if statement.
You can implement a if like so: