const getConstructor=e=>null!=e?e.constructor:null,instanceOf=(e,t)=>Boolean(e&&t&&e instanceof t),isNullOrUndefined=e=>null==e,isObject=e=>getConstructor(e)===Object,isString=e=>getConstructor(e)===String,isArray=e=>Array.isArray(e),isNodeList=e=>instanceOf(e,NodeList),isElement=e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,isEmpty=e=>isNullOrUndefined(e)||(isString(e)||isArray(e)||isNodeList(e))&&!e.length||isObject(e)&&!Object.keys(e).length;export default{nullOrUndefined:isNullOrUndefined,object:isObject,string:isString,nodeList:isNodeList,element:isElement,empty:isEmpty};