This is more appropriate for a `switch` statement than multiple `if`s.