1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/es-to-primitive/helpers/isPrimitive.js

6 lines
151 B
JavaScript
Raw Normal View History

2023-12-28 23:41:32 +08:00
'use strict';
2023-12-18 13:12:25 +08:00
module.exports = function isPrimitive(value) {
return value === null || (typeof value !== 'function' && typeof value !== 'object');
};