Created
October 9, 2019 03:18
-
-
Save IntegerMan/8ac0d5b513011c6570850183461083c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return entry.Name switch { | |
"Bruce Wayne" => Heroes.Batman, | |
"Matt Eland" => Heroes.Batman, | |
"The Thing" when entry.Source == "John Carpenter" => Heroes.AntiHero, | |
"The Thing" => Heroes.ComicThing, | |
"Bruce Banner" => Heroes.TheHulk, | |
_ => Heroes.NotAHero | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment