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