src/utils.js
/**
 * Extracts, formats, and returns the internal type string
 * for any value.
 * toTypeString(value: Any) -> String
 */
Extracts, formats, and returns the internal type string
for any value.
Extracts formats and returns the internal type string for any value .
function toTypeString(value) {
  return Object.prototype.toString.call(value)
    .toLowerCase()
    .replace('[object ', '')
    .replace(']', '')
}
function toTypeString ( value ) { return Object . prototype . toString . call ( value ) . toLowerCase ( ) . replace ( '[object ' , '' ) . replace ( ']' , '' ) }
Extracts, formats, and returns the internal type string
 for any value.
Extracts formats and returns the internal type string for any value .