© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Luca Del Puppo
Microsoft MVP, Google Developer Expert, GitKraken Ambassador, Senior Software Developer at NearForm and JavaScript enthusiastic.
There are times that we need to create some assertions to be sure an object respects some rules. A common case is to check if an object is defined; to do this you can create a simple assertion function like this function assert(condition: unknown, me...
No responses yet.