Files
wangxiaowei 5d7b75a14e first commit
2025-12-09 13:35:21 +08:00

7 lines
144 B
JavaScript

'use strict';
module.exports = value => {
const type = typeof value;
return value !== null && (type === 'object' || type === 'function');
};