Skip to main content
Module

x/netzo/deno.d.ts>URLSearchParams#set

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
method URLSearchParams.prototype.set
import { URLSearchParams } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";

Sets the value associated with a given search parameter to the given value. If there were several matching values, this method deletes the others. If the search parameter doesn't exist, this method creates it.

searchParams.set('name', 'value');

Parameters

name: string
value: string