From 9c103728fa24e85d54e1144a952edc71f4f36618 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 9 Dec 2018 15:32:30 +0200 Subject: [PATCH] Clarify `is.url` description Co-Authored-By: itaisteinherz --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index d62dbf9..53ed990 100644 --- a/readme.md +++ b/readme.md @@ -257,7 +257,7 @@ is.urlInstance(url); ### .url(value) -Returns `true` if `value` is a URL. +Returns `true` if `value` is a URL string. Note: this only does basic checking using the [`URL` class](https://developer.mozilla.org/en-US/docs/Web/API/URL) constructor.