text: /**
   * Returns type of a given object.
   * @param   {Any}       obj           Object to inspect for type.
   * @return  {String}                  Type of the given object.
   */
  const getType = (obj) => {
    const typeString = Object.prototype.toString.call(obj);
    return typeString.toLowerCase().replace(/\[object\s|\]/g, '');
  };
  
  export default getType;
  