mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
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:246](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/utils/Utils.ts#L246)
|