Skip to main content
Module

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

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

Returns an iterator allowing to go through all keys contained in this object.

const params = new URLSearchParams([["a", "b"], ["c", "d"]]);
for (const key of params.keys()) {
  console.log(key);
}

Returns

IterableIterator<string>