Skip to content

Commit

Permalink
docs: add isExternalLink JSDoc (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Apr 1, 2020
1 parent 595aaab commit 48788a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/is_external_link.js
Expand Up @@ -8,6 +8,8 @@ const cache = new Cache();
/**
* Check whether the link is external
* @param {String} input The url to check
* @param {String} input The hostname / url of website
* @param {Array} input Exclude hostnames. Specific subdomain is required when applicable, including www.
* @returns {Boolean} True if the link doesn't have protocol or link has same host with config.url
*/

Expand Down

0 comments on commit 48788a7

Please sign in to comment.