MCPcopy
hub / github.com/NaiboWang/EasySpider / assertObjectType

Function assertObjectType

ElectronJS/src/taskGrid/vue.js:1507–1515  ·  view source on GitHub ↗
(name, value, vm)

Source from the content-addressed store, hash-verified

1505 }
1506
1507 function assertObjectType (name, value, vm) {
1508 if (!isPlainObject(value)) {
1509 warn(
1510 "Invalid value for option \"" + name + "\": expected an Object, " +
1511 "but got " + (toRawType(value)) + ".",
1512 vm
1513 );
1514 }
1515 }
1516
1517 /**
1518 * Merge two option objects into a new one.

Callers 2

mergeAssetsFunction · 0.85
vue.jsFile · 0.85

Calls 3

isPlainObjectFunction · 0.70
warnFunction · 0.70
toRawTypeFunction · 0.70

Tested by

no test coverage detected