Constructor<T> Type
Constructor = (...args: any[]) => T
Generically represents a class T
, for use in type annotations.
@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
.
Defined in
- core/bentley/src/UtilityTypes.ts Line 32
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.