MCPcopy Create free account
hub / github.com/TanStack/devtools / isClassConstructor

Function isClassConstructor

packages/angular-devtools/src/devtools.ts:278–282  ·  view source on GitHub ↗
(
  o: unknown,
)

Source from the content-addressed store, hash-verified

276}
277
278function isClassConstructor<T>(
279 o: unknown,
280): o is new (...args: Array<any>) => T {
281 return typeof o === 'function' && !!o.prototype && !!o.prototype.constructor
282}

Callers 2

convertPluginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected