code: function find (tree, condition) {
    if (!tree) throw new Error('unist-find requires a tree to search')
    if (!condition) throw new Error('unist-find requires a condition')
  
    var predicate = iteratee(condition)
    var result
  
    visit(tree, function (node) {
      if (predicate(node)) {
        result = node
        return false
      }
    })
  
    return result
  }
docs: Find
  
  @param {Node} tree - Root node
  @param {string|object|function} [condition] - Condition to match node.