MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / assertInstance

Function assertInstance

lib/web/polyfill.js:357–359  ·  view source on GitHub ↗
(it, Constructor, name)

Source from the content-addressed store, hash-verified

355 return it;
356}
357function assertInstance(it, Constructor, name){
358 assert(it instanceof Constructor, name, ": use the 'new' operator!");
359}
360
361// Property descriptors & Symbol
362function descriptor(bitmap, value){

Callers 2

polyfill.jsFile · 0.85
getCollectionFunction · 0.85

Calls 1

assertFunction · 0.85

Tested by

no test coverage detected