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 | unknown | |
| component | optional Component<TProps> |
Returns
Section titled “Returns”item is ComponentCreator<TProps>