isPrimitive.js 136 Bytes RawBlameHistoryPermalink 1 2 3 module.exports = function isPrimitive(value) { return value === null || (typeof value !== 'function' && typeof value !== 'object'); };