if Cynic ;
var result = x "or"result;// ^-- 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