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