6 lines
239 B
JavaScript
6 lines
239 B
JavaScript
|
import _typeof from "./typeof.js";
|
||
|
function _checkInRHS(e) {
|
||
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null"));
|
||
|
return e;
|
||
|
}
|
||
|
export { _checkInRHS as default };
|