code: function isDiffable (val) {
    switch (getType(val)) {
      case 'array':
      case 'object':
        return true
  
      case 'string':
        return val.length >= 40 || (val.trim().match(/\n/g) || []).length >= 1
  
      default:
        return false
    }
  }
docs: Return whether value should be diffed.
  
  @param {*} val Value to test
  @return {boolean}