Created
August 27, 2021 10:21
-
-
Save eamonnboyle/59a9f87045171f0aae49cc1bfd7a7bb3 to your computer and use it in GitHub Desktop.
Nested Aliased Condition Successful Checks
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 childIsA1 = isAorB && root.child.kind === 'A'; | |
const childIsA2 = isAorBorC && root.child.kind === 'A'; | |
const childIsA3 = isAorBorCorD && root.child.kind === 'A'; | |
const childIsA4 = isAorBorCorDorE && root.child.kind === 'A'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment