Skip to content

Commit

Permalink
docs: update API.md with WHATWG URL constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiPie committed Nov 10, 2020
1 parent 45b7f75 commit 438f714
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ String. It's highly unlikely that a variable will not be a String since all
#### asUrlObject()

Verifies that the variable is a valid URL string using the same method as
`asUrlString()`, but instead returns the resulting URL instance. For details
see the [Node.js URL docs](https://nodejs.org/docs/latest/api/url.html#url_class_url).
`asUrlString()`, but instead returns the resulting URL instance. It uses the WHATWG URL constructor.

#### asUrlString()

Expand Down

0 comments on commit 438f714

Please sign in to comment.