@fingerprintjs/url-matcher
    Preparing search index...

    Function validateProtocol

    • Validates whether the specified protocol is supported. Throws an error if the protocol is invalid.

      Parameters

      • protocol: string

        The protocol to validate.

      Returns asserts protocol is Protocol