isValidElement function
Dart wrapper for React.isValidElement.
From the JS docs:
Verifies the
object
is a ReactElement
Implementation
bool isValidElement(dynamic object) {
return React.isValidElement(object);
}
Dart wrapper for React.isValidElement.
From the JS docs:
Verifies the
object
is a ReactElement
bool isValidElement(dynamic object) {
return React.isValidElement(object);
}