isElement function

  1. @JS('React.addons.TestUtils.isElement')
bool isElement(
  1. dynamic object
)

Returns true if object is a valid React component.

Implementation

@JS('React.addons.TestUtils.isElement')
external bool isElement(dynamic object);