UNPKG

pnpm

Version:

A fast implementation of npm install

6 lines (5 loc) 137 B
'use strict'; module.exports = function (x) { var type = typeof x; return x !== null && (type === 'object' || type === 'function'); };