File size: 151 Bytes
5641073
 
 
 
 
1
2
3
4
5
6
'use strict';

module.exports = function isPrimitive(value) {
	return value === null || (typeof value !== 'function' && typeof value !== 'object');
};