import { ComponentType } from '../../types';
/**
 * Check a component is a JS component and apply a type guard for the returned type
 *
 * @param component - the component to check
 */
function isJsComponent(component) {
    return component.type === ComponentType.JS;
}
export default isJsComponent;
//# sourceMappingURL=is-js-component.js.map