"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.isValidElement = isValidElement;
var _react = _interopRequireDefault(require("react"));
/**
 * This function performs a soft validation to check if the provided element is a React element.
 * It returns a typed component but does not verify if the element type matches the expected T component.
 *
 * @param el - The element to be checked.
 * @returns - Returns a boolean indicating whether the element is a valid React element of type P and T.
 */
function isValidElement(el) {
  return /*#__PURE__*/_react.default.isValidElement(el);
}
//# sourceMappingURL=isValidElement.js.map