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

x/opine/src/utils/cookies.ts>hasCookieNameProperty

Minimalist web framework for Deno ported from ExpressJS.
Latest
function hasCookieNameProperty
import { hasCookieNameProperty } from "https://deno.land/x/opine@2.3.4/src/utils/cookies.ts";

Returns true if the input has type { name: string }.

Parameters

value: any

Returns

value is Pick<Cookie, "name">