Skip to main content
MIMEParams.prototype.get - util - Node documentation
method MIMEParams.prototype.get

Usage in Deno

import { MIMEParams } from "node:util";
MIMEParams.prototype.get(name: string): string | null

Returns the value of the first name-value pair whose name is name. If there are no such pairs, null is returned.

Parameters

name: string

Return Type

string | null

or null if there is no name-value pair with the given name.