install-nix-action/node_modules/es-to-primitive/helpers/isPrimitive.js
Domen Kožar 08403cd828
v5
2019-11-13 17:14:48 +01:00

4 lines
136 B
JavaScript

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