linwenling
2023-09-26 0edf2cc107cd03e8e007f97f38387d66f480cd3d
1
2
3
4
5
6
'use strict';
 
module.exports = value => {
    const type = typeof value;
    return value !== null && (type === 'object' || type === 'function');
};