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