mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 20:41:17 +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:247](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/utils/Utils.ts#L247)
|