index.js 144 B

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