isComponentCreator
import { isComponentCreator } from "@alloy-js/core";
function isComponentCreator<TProps = any>(item: unknown, component?: Component<TProps>): item is ComponentCreator<TProps>;Parameters
Section titled “Parameters”| item |
|
| component | optional
|
Returns
Section titled “Returns”item is ComponentCreator<TProps>