MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / asyncConstructor

Method asyncConstructor

Extension/src/Utility/System/guards.ts:48–50  ·  view source on GitHub ↗
(instance: any)

Source from the content-addressed store, hash-verified

46 }
47
48 static asyncConstructor(instance: any): instance is AsyncConstructor<any> {
49 return typeof instance === 'function' && !!instance.class && is.Constructor(instance.class);
50 }
51
52 static array(instance: any): instance is any[] {
53 return Array.isArray(instance);

Callers 2

typeinfo.test.tsFile · 0.80
classOfFunction · 0.80

Calls 1

ConstructorMethod · 0.80

Tested by

no test coverage detected