isClassComponent

isClassComponent

isClassComponent(componentany): boolean

Determine whether a component is a Class component.

Parameters
ParameterType
component
any
Returns 
boolean

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