isObject.js 137 Bytes Raw Blame History Permalink 1 2 3 4 5 const { toString } = Object.prototype; export default function isObject(value) { return toString.call(value) === '[object Object]'; }