mazey
    Preparing search index...

    Function removeCookie

    • Delete a cookie by name.

      Usage:

      import { removeCookie } from "mazey";

      const ret = removeCookie("test");
      console.log(ret);

      Output:

      true
      

      Parameters

      • name: string

        The name of the cookie to delete.

      Returns boolean

      true if the cookie was deleted successfully, false otherwise.