[**@twipped/hooks**](../../README.md) • **Docs**

***

# Function: isComponent()

> **isComponent**(`component`): `boolean`

Returns true if the given value is conceivably a react component (class or functional)
This is not foolproof, but will work for 99.9% of components

## Parameters

• **component**: `any`

## Returns

`boolean`

## Source

[hooks/children.js:64](https://github.com/Twipped/hooks/blob/main/hooks/children.js#L64)
