Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki MichalZalecki/decode.ts Secret
Created Apr 23, 2019

What would you like to do?
string.decode(“100”).map(str => str.toUpperCase()).getOrElse("Invalid") // "100"
string.decode(100).map(str => str.toUpperCase()).getOrElse("Invalid") // "Invalid"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.