mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 04:51:16 +00:00
22 lines
471 B
Markdown
22 lines
471 B
Markdown
[youtubei.js](../../../README.md) / [Utils](../README.md) / getCookie
|
|
|
|
# Function: getCookie()
|
|
|
|
> **getCookie**(`cookies`, `name`, `matchWholeName`): `string` \| `undefined`
|
|
|
|
## Parameters
|
|
|
|
• **cookies**: `string`
|
|
|
|
• **name**: `string`
|
|
|
|
• **matchWholeName**: `boolean` = `false`
|
|
|
|
## Returns
|
|
|
|
`string` \| `undefined`
|
|
|
|
## Defined in
|
|
|
|
[src/utils/Utils.ts:262](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/utils/Utils.ts#L262)
|