Chainable type checking assertions
if Cynicnumberx performMathsx;
xnumbergreater10else"x must be a number greater than 10";
var result = x "or"numberstringresult;// ^-- true if x is a number or a string
If you want to play with Cynic's source code, VSCode is highly recommended for the purpose. It's a great little cross-platform open-source IDE which integrates with TypeScript nicely.
npm install, and open the project in VSCode