isElementOfType

external fun isElementOfType(element: ReactElement<*>, type: ComponentType<*>): Boolean(source)

Returns true if element is a React element whose type is of a React type.