jest-metadata
Version:
🦸♂️ Superhero power for your Jest reporters! 🦸♀️
11 lines • 353 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPrimitive = void 0;
function isPrimitive(value) {
return (typeof value === 'number' ||
typeof value === 'string' ||
typeof value === 'boolean' ||
value == null);
}
exports.isPrimitive = isPrimitive;
//# sourceMappingURL=isPrimitive.js.map