MCPcopy
hub / github.com/HumanSignal/label-studio / assertObjectType

Function assertObjectType

docs/themes/htx/source/js/vue.js:1404–1408  ·  view source on GitHub ↗
(name, value, vm)

Source from the content-addressed store, hash-verified

1402 }
1403
1404 function assertObjectType(name, value, vm) {
1405 if (!isPlainObject(value)) {
1406 warn('Invalid value for option "' + name + '": expected an Object, ' + "but got " + toRawType(value) + ".", vm);
1407 }
1408 }
1409
1410 /**
1411 * Merge two option objects into a new one.

Callers 2

mergeAssetsFunction · 0.85
vue.jsFile · 0.85

Calls 2

isPlainObjectFunction · 0.85
toRawTypeFunction · 0.85

Tested by

no test coverage detected