Last active
August 4, 2017 11:43
-
-
Save Willmo36/7fd2b6347e07ba6a511d529404e6f590 to your computer and use it in GitHub Desktop.
Help debug & log R.pipe/compase
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
const pipeLog = <T>(x: T): T => { | |
console.log(x); | |
return x; | |
}; | |
const pipeDebug = <T>(x: T): T => { | |
debugger; | |
return x; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment