mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-10-17 06:57:34 +00:00
4 lines
136 B
JavaScript
4 lines
136 B
JavaScript
|
module.exports = function isPrimitive(value) {
|
||
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
||
|
};
|