@wppconnect/wa-js - v3.19.3
    Preparing search index...

    Function isUrl

    • Check if a string is a valid HTTP or HTTPS URL

      Parameters

      • url: string

        The string to check

      Returns boolean

      true if the string is a valid HTTP/HTTPS URL, false otherwise