> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Function: isValidElement()

> **isValidElement**\<`P`>(`object`: \{ } | `null` | `undefined`): object is ReactElement\<P, string | JSXElementConstructor\<any>>

## Type Parameters

| Type Parameter |
| -------------- |
| `P`            |

## Parameters

| Parameter | Type                          |
| --------- | ----------------------------- |
| `object`  | \{ } \| `null` \| `undefined` |

## Returns

object is ReactElement\<P, string | JSXElementConstructor\<any>>
