Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 344 Bytes

dom_is_react_function_component.md

File metadata and controls

16 lines (11 loc) · 344 Bytes

dom/domIsReactFunctionComponent

Tests whether an object is a stateless functional component.

function domIsReactFunctionComponent(component: object): bool

Args

component:object
The object to test.

Returns

A boolean value indicating whether the given object is a functional component.