import { VdmProperty } from '../vdm-types' ; internal export function hasEdmTypeProperty ( properties ) { return properties . some ( prop => ! prop . isComplex && ! prop . isEnum ) ; } internal export function hasComplexTypeProperty ( properties ) { return properties . find ( prop => prop . isComplex === true ) !== undefined ; }