Best way to implement utility function Top-level vs Static vs Namespace

There are several ways to offer utility function which is used by variety classes. Have you ever considered which way i...

How to check if an object implements an interface in Typescript

When using Typescript the compiler detects the type error. It supports any data type but it is not recommended to use b...

Difference between for, while, forEach, for-in and for-of

A lot of languages support several ways for loop logic. Typescript supports following ways for example. whileforfor ...
Copied title and URL