3 lines
78 B
JavaScript
3 lines
78 B
JavaScript
const isPrimitive = val => Object(val) !== val;
|
|
module.exports = isPrimitive;
|