Constructor<T> Type alias

@note A variable of type Constructor<T> matches a class T only if T has a public constructor.

@see - asInstanceOf to attempt to cast an arbitrary value to class T.

  • isInstanceOf to determine if an arbitrary value is an instance of class T.

Constructor = (...args: any[]) => T

Defined in

Last Updated: 17 May, 2024