isDOMComponent function

  1. @JS('React.addons.TestUtils.isDOMComponent')
bool isDOMComponent(
  1. dynamic instance
)

Returns true if instance is a DOM component (such as a

or ).

Implementation

@JS('React.addons.TestUtils.isDOMComponent')
external bool isDOMComponent(/* [1] */ instance);