code: function find(tags, key) {
    var value = null
  
    tags.some(function(tag) {
      if (tag && tag.type === key) {
        value = tag
  
        return true
      }
  
      return false
    })
  
    return value && value.string
  }
docs: Find the first tag in `tags` with a type set to `key`.