MCPcopy
hub / github.com/vaxilu/x-ui / assertObjectType

Function assertObjectType

web/assets/vue@2.6.12/vue.runtime.esm.js:1494–1502  ·  view source on GitHub ↗
(name, value, vm)

Source from the content-addressed store, hash-verified

1492}
1493
1494function assertObjectType (name, value, vm) {
1495 if (!isPlainObject(value)) {
1496 warn(
1497 "Invalid value for option \"" + name + "\": expected an Object, " +
1498 "but got " + (toRawType(value)) + ".",
1499 vm
1500 );
1501 }
1502}
1503
1504/**
1505 * Merge two option objects into a new one.

Callers 2

mergeAssetsFunction · 0.70
vue.runtime.esm.jsFile · 0.70

Calls 3

isPlainObjectFunction · 0.70
warnFunction · 0.70
toRawTypeFunction · 0.70

Tested by

no test coverage detected