Sign in
apache
/
nifi-fds
/
gh-pages
/
.
/
node_modules
/
core-js
/
library
/
modules
/
_an-instance.js
blob: c0a5f9200c15378e4e21b8ab5fb27206bf26b216 [
file
]
module
.
exports
=
function
(
it
,
Constructor
,
name
,
forbiddenField
)
{
if
(!(
it instanceof
Constructor
)
||
(
forbiddenField
!==
undefined
&&
forbiddenField in it
))
{
throw
TypeError
(
name
+
': incorrect invocation!'
);
}
return
it
;
};