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

5 lines
243 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08: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;
}