zhangjian
2023-07-10 4bcf7f6452d6ae04f210fc5c8408ad928d6602f4
1
2
3
4
5
6
'use strict';
 
module.exports = value => {
    const type = typeof value;
    return value !== null && (type === 'object' || type === 'function');
};