Check if input is a string
value
Optional
RegExp, url (URL.canParse), non-empty (at least one non-whitespace character)
RegExp
url
URL.canParse
non-empty
true if the input passed, false otherwise
true
false
Check if input is a string