yz3456
2024-07-09 32148fb89c6cbedc24aaf9cb93a215a6cc665f2b
1
2
3
4
5
'use strict';
 
module.exports = function isPrimitive(value) {
    return value === null || (typeof value !== 'function' && typeof value !== 'object');
};