JavaScript check if a string is a valid web URL using check-more-types library In this JavaScript tutorial we learn how to check whether a given string is a valid web URL or not using the webUrl() method of the check-more-types library.