Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/another_cookiejar/cookie.ts>isSameDomainOrSubdomain

https://deno.land/x/another_cookiejar
Go to Latest
function isSameDomainOrSubdomain
import { isSameDomainOrSubdomain } from "https://deno.land/x/another_cookiejar@v5.0.1/cookie.ts";

does not make a difference which one is domainA or domainB

according to https://stackoverflow.com/a/30676300/3542461

Parameters

optional
domainA: string
optional
domainB: string