all files / stampit/src/ isObject.js

100% Statements 8/8
100% Branches 14/14
100% Functions 3/3
100% Lines 4/4
1 statement, 1 function, 2 branches Ignored     
1 2 3 4 5 17639× 17639×    
export default function isObject(obj) {
  const type = typeof obj;
  return !!obj && (type === 'object' || type === 'function');
}