_maybe_ something like `var links = (arguments.length === 1) ? link : extractLinks.apply(this, arguments);`

and `extractLinks` would always receive two arguments. A relation and an href (or array of hrefs).