install-nix-action/node_modules/es-to-primitive/helpers/isPrimitive.js
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00

4 lines
136 B
JavaScript

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