ComPDFKit Web SDK
    Preparing search index...

    Function isValidURI

    • Checks whether a link uses an allowed scheme (http, https, ftp, mailto or tel). A www. prefix counts as https.

      Parameters

      • uri: string

        The link to check.

      Returns boolean

      true when the link can be parsed and its scheme is allowed.