Last active
February 27, 2019 16:22
-
-
Save ivangodfather/971a95e0ce32eb22f4fdf263e198718d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| switch(firstObject, secondObject) { | |
| case (is FirstClass, is FirstClass): return true | |
| case (is FirstClass, is SecondClass): return false | |
| .... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
switch (firstObject, secondObject) {
case is (FirstClass, FirstClass): return true
case is (FirstClass, SecondClass): return false
....
}