MCPcopy
hub / github.com/fanmingming/live / assertObjectType

Function assertObjectType

m3u8/vue.js:1506–1514  ·  view source on GitHub ↗
(name, value, vm)

Source from the content-addressed store, hash-verified

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

Callers 2

mergeAssetsFunction · 0.85
vue.jsFile · 0.85

Calls 3

isPlainObjectFunction · 0.85
warnFunction · 0.85
toRawTypeFunction · 0.85

Tested by

no test coverage detected