blob: 366915645275961923035dff493fe5724313b394 [file] [log] [blame]
module.exports = function isPrimitive(value) {
return value === null || (typeof value !== 'function' && typeof value !== 'object');
};