MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / checkClassType

Function checkClassType

libs/echarts/echarts.simple.js:12234–12239  ·  view source on GitHub ↗

* @public

(componentType)

Source from the content-addressed store, hash-verified

12232 * @public
12233 */
12234function checkClassType(componentType) {
12235 assert$1(
12236 /^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(componentType),
12237 'componentType "' + componentType + '" illegal'
12238 );
12239}
12240
12241/**
12242 * @public

Callers 1

enableClassManagementFunction · 0.70

Calls 1

assert$1Function · 0.70

Tested by

no test coverage detected