Created
June 16, 2017 00:46
-
-
Save joeyfigaro/457caa360d0f7b3a456ca058e1562c51 to your computer and use it in GitHub Desktop.
Ramda & Redux (when example)
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
function sayHello() { | |
return console.log('Hello.'); | |
} | |
when( | |
equals(true, true), | |
sayHello | |
); | |
// -> Hello. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment