MIMEParams.prototype.keys - Node documentation
method MIMEParams.prototype.keys

Usage in Deno

import { MIMEParams } from "node:util";
MIMEParams.prototype.keys(): IterableIterator<string>

Returns an iterator over the names of each name-value pair.

import { MIMEType } from 'node:util';

const { params } = new MIMEType('text/plain;foo=0;bar=1');
for (const name of params.keys()) {
  console.log(name);
}
// Prints:
//   foo
//   bar

Return Type

IterableIterator<string>