Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/ext/url/lib.deno_url.d.ts>URLSearchParams#has

A modern runtime for JavaScript and TypeScript.
Go to Latest
method URLSearchParams.prototype.has
import { URLSearchParams } from "https://deno.land/x/deno@v1.28.0/ext/url/lib.deno_url.d.ts";

Returns a Boolean that indicates whether a parameter with the specified name exists.

searchParams.has('name');

Parameters

name: string

Returns

boolean