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