UNPKG

@bolt/build-tools

Version:

Curated collection of front-end build tools in the Bolt Design System.

11 lines (8 loc) 254 B
'use strict'; module.exports = value => { if (Object.prototype.toString.call(value) !== '[object Object]') { return false; } const prototype = Object.getPrototypeOf(value); return prototype === null || prototype === Object.getPrototypeOf({}); };