☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-helpers
/
src
/
helpers
/
checkInRHS.js
☽
☼
packages/babel-helpers/src/helpers/checkInRHS.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
/* @minVersion 7.20.5 */
2
3
export
default
function
_checkInRHS
(value) {
4
if
(
Object
(value) !== value) {
5
throw
TypeError
(
6
"right-hand side of 'in' should be an object, got "
+
7
(value !==
null
?
typeof
value :
"null"
)
8
);
9
}
10
return
value;
11
}