"use strict";// Returns true when the value is a regular Object and not a specialized Object//// This helps speeding up deepEqual cyclic checks// The premise is that only Objects are stored in the visited array.// So if this function returns false, we don't have to do the// expensive operation of searching for the value in the the array of already// visited objectsfunctionisObject(value){return(typeofvalue==="object"&&value!==null&&// none of these are collection objects, so we can return false!(valueinstanceofBoolean)&&!(valueinstanceofDate)&&!(valueinstanceofError)&&!(valueinstanceofNumber)&&!(valueinstanceofRegExp)&&!(valueinstanceofString));}module.exports=isObject;