UNPKG

module-composer

Version:

Bring order to chaos. Level up your JS application architecture with Module Composer, a tiny but powerful module composition utility based on functional dependency injection.

7 lines (4 loc) 133 B
module.exports = val => { return val && typeof val === 'object' && Object.getPrototypeOf(val) === Object.prototype; };