-
-
Save joshavant/42978514874ae96b02a7 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
isHyperlink = category == current_page_category && !sublevel_of_work_category?(current_page.destination_path) ? false : true | |
DOESN'T SEEM TO BE FUNCTIONALLY EQUIVALENT TO | |
isHyperlink = category == current_page_category && sublevel_of_work_category?(current_page.destination_path) | |
...any thoughts why? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They do not seem to be logically equivalent: