loading...

Discussion on: Validate javascript data type in runtime? Yes, Hello Type.

Collapse
entrptaher profile image
Md. Abu Taher 👨‍💻

...Are/Were you a python developer? :D Or did you perhaps get some inspiration from python syntax?

Interesting package. Any chance it will have similar api to mocha/chai or such unit testing frameworks? Or something that will be used to check type but not throw error.

Collapse
frustigor profile image
frustigor Author

Thanks for your attention.

Sorry, I am a pure js developer even though I like python syntax too.
The api is similar to chai which is my favorite assert library.
I think a developer who want to use HelloType may just need to know where error happens without

irrupting any business code logic. So finally, I provide four way to check data.

If you have any question or idea, please let me know on github.