Search
Use the startsWith() method to check whether the value of url starts with "https://".
startsWith()
url
"https://"
For example: