isValidElement function

bool isValidElement(
  1. dynamic object
)

Dart wrapper for React.isValidElement.

From the JS docs:

Verifies the object is a ReactElement

Implementation

bool isValidElement(dynamic object) {
  return React.isValidElement(object);
}