logo

How to get the real type of any JavaScript variable

This weekend I published a short article talking about how to create a CSV using template strings in Node.js. I posted the link on Reddit and a couple of more places and the general feedback was something along the lines of “great article but the most interesting part is that type checking thing”.

I decided to record a short screencast, this morning, to detail how that code works and what you could use that function for. The outcome is already on YouTube and it can be viewed here.

References

Copyright (c) 2023 Adrian Oprea. All rights reserved.