Files
SupportBot/node_modules/is-obj/index.js
T

6 lines
144 B
JavaScript
Raw Normal View History

2021-10-04 13:54:30 +01:00
'use strict';
module.exports = value => {
const type = typeof value;
return value !== null && (type === 'object' || type === 'function');
};