MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / isClass

Method isClass

ui/media/js/utils.js:685–691  ·  view source on GitHub ↗
(definition)

Source from the content-addressed store, hash-verified

683 }
684
685 static isClass(definition) {
686 return (
687 typeof definition === "function" &&
688 Boolean(definition.prototype) &&
689 definition.prototype.constructor === definition
690 )
691 }
692 static isConstructor(definition) {
693 return typeof definition === "function"
694 }

Callers 1

_createInstanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected