securityos/node_modules/@babel/runtime/helpers/esm/checkInRHS.js

5 lines
243 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import _typeof from "./typeof.js";
export default function _checkInRHS(value) {
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null"));
return value;
}