Created
May 25, 2018 11:25
-
-
Save gladimdim/ac5ee84732e0646139c8e786b2d8b637 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
| let comparatorToString = comparator : string => | |
| switch (comparator) { | |
| | LooseEqual => "==" | |
| | LooseNotEqual => "!==" | |
| | Equal => "===" | |
| | Empty => "" | |
| | NotEqual => "!==" | |
| | Gt => ">" | |
| | Gte => ">=" | |
| | Lt => "<" | |
| | Lte => "<=" | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment