index.js 144 B

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