1
0
mirror of https://github.com/actions/labeler synced 2026-05-05 19:27:48 +02:00
Files
labeler/node_modules/es-abstract/helpers/isPrimitive.js
PJ Quirk c5c9bd0f54 Bump actions/github to 2.2.0 to support GHES (#72)
* Bumping actions/github to 2.2.0

* Husky commit correct node modules
2020-05-15 09:52:23 -04:00

4 lines
136 B
JavaScript

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