Skip to main content
MIMEParams.prototype.get - node__util.d.ts - Node documentation
method MIMEParams.prototype.get

Usage in Deno

```typescript import { MIMEParams } from "node:node__util.d.ts"; ```
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`.