lib/helpers.js
function typeOf(value) {
  var returned = Object.prototype.toString.call(value);
  return returned.substring(1, returned.length - 1).split(' ')[1].toLowerCase();
}
function typeOf(value) {
  var returned = Object.prototype.toString.call(value);
  return returned.substring(1, returned.length - 1).split(' ')[1].toLowerCase();
}
function typeOf ( value ) { var returned = Object . prototype . toString . call ( value ) ; return returned . substring ( 1 , returned . length - 1 ) . split ( ' ' ) [ 1 ] . toLowerCase ( ) ; }
ES6 iterator ready solution.
ES6 iterator ready solution .