Whoopie - v0.0.2
    Preparing search index...

    Function getCookieValue

    • Returns the value of a cookie with the given name.

      Parameters

      • cookie: string | readonly string[] | null | undefined

        The Cookie header value or Document.cookie.

      • name: string

        The name of a cookie to retrieve.

      Returns string | undefined

      A cookie value or undefined if there's no cookie with the given name.