mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-07 20:37:43 +00:00
5 lines
142 B
JavaScript
5 lines
142 B
JavaScript
export default function isObject(value) {
|
|
const type = typeof value;
|
|
return value !== null && (type === 'object' || type === 'function');
|
|
}
|