index.es.js
function isReactElement(suspectedElement) {
    var isElem = false;
    if (React.isValidElement(suspectedElement)) {
        isElem = true;
    } else if (Array.isArray(suspectedElement)) {
        for (var i = 0, l = suspectedElement.length; i < l; i++) {
            if (React.isValidElement(suspectedElement[i])) {
                isElem = true;
                break;
            }
        }
    }
    return isElem;
}
function isReactElement(suspectedElement) {
    var isElem = false;
    if (React.isValidElement(suspectedElement)) {
        isElem = true;
    } else if (Array.isArray(suspectedElement)) {
        for (var i = 0, l = suspectedElement.length; i < l; i++) {
            if (React.isValidElement(suspectedElement[i])) {
                isElem = true;
                break;
            }
        }
    }
    return isElem;
}
function isReactElement ( suspectedElement ) { var isElem = false ; if ( React . isValidElement ( suspectedElement ) ) { isElem = true ; } else if ( Array . isArray ( suspectedElement ) ) { for ( var i = 0 , l = suspectedElement . length ; i < l ; i ++ ) { if ( React . isValidElement ( suspectedElement [ i ] ) ) { isElem = true ; break ; } } } return isElem ; }
If the provided argument is a valid react element or an array that contains at least
one valid react element in it
@param {*} suspectedElement
@returns {Boolean}
If the provided argument is a valid react element or an array that contains at least one valid react element in it