Debian Codegraph @

packages/babel-helpers/src/helpers/checkInRHS.js

raw symbols SCIP
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 }