MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / isEdmxEnumType

Function isEdmxEnumType

CustomerManager/Scripts/breeze.debug.js:7175–7182  ·  view source on GitHub ↗
(csdlProperty, schema)

Source from the content-addressed store, hash-verified

7173 }
7174
7175 function isEdmxEnumType(csdlProperty, schema) {
7176 var enumTypes = __toArray(schema.enumType);
7177 var typeParts = csdlProperty.type.split(".");
7178 var baseTypeName = typeParts[typeParts.length - 1];
7179 return enumTypes.some(function (enumType) {
7180 return enumType.name === baseTypeName;
7181 });
7182 }
7183
7184 function isODataEnumType(csdlProperty, schema) {
7185 var enumTypes = schema.extensions.filter(function (ext) {

Callers 1

isEnumTypeFunction · 0.85

Calls 1

__toArrayFunction · 0.85

Tested by

no test coverage detected