hrms-manual/node_modules/@babel/runtime/helpers/esm/checkInRHS.js
2023-09-06 14:51:44 +07:00

5 lines
No EOL
243 B
JavaScript

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;
}