index.js 137 B

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