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

***

# Function: isFunctionComponent()

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

Returns true if the given value is a function with 0 or 1 arguments
(and thus, conceivably a functional component)

## Parameters

• **component**: `any`

## Returns

`boolean`

## Source

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