@lynx-js/react / isValidElement
function isValidElement<P>(object: object): object is ReactElement<P, string | JSXElementConstructor<any>>
P
object
object is ReactElement<P, string | JSXElementConstructor<any>>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:781