isClassComponent

isClassComponent
isClassComponent(componentany): boolean

Determine whether a component is a Class component.

Parameters
  • componentany
Returns 
boolean

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.