import Vue from 'vue' ; import { XModuleName } from '../x-modules/x-modules.types' ; param component returns internal export function getXComponentXModuleName ( component ) { return component ?. $options . xModule ?? null ; } /**
 * Returns if the component is an X-Component. An X-Component is a component that has an
 *  XModule associated to it.
 *
 *  param component returns public export function isXComponent ( component ) { return ! ! getXComponentXModuleName ( component ) ; }