Created
August 13, 2022 16:36
-
-
Save ThinaticSystem/1387990c9e2ffb56fcb3e9c4ef2c49b3 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
const isYun = | |
(maybe: Yun | Nene | Inn): maybe is Yun | |
=> !( | |
isGameCubeGenerators(maybe) | |
|| isToyokoInn(maybe) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment