Skip to content

Commit 45ecaad

Browse files
doc: report proper return type on urlPattern.test
Signed-off-by: bmuenzenmeyer <brian.muenzenmeyer@gmail.com> PR-URL: #64831 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 65a0265 commit 45ecaad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/api/url.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ console.log(myPattern.exec('https://nodejs.org/docs/latest/api/dns.html'));
830830

831831
* `input` {string | Object} A URL or URL parts
832832
* `baseURL` {string | undefined} A base URL string
833+
* Returns {boolean}
833834

834835
Input can be a string or an object providing the individual URL parts. The
835836
object members can be any of `protocol`, `username`, `password`, `hostname`,

0 commit comments

Comments
 (0)