Methods
[iterator]
- [iterator](): IterableIterator<[key: string, value: string]>
Returns IterableIterator<[key: string, value: string]>
append
- append(name, value): void
Parameters
- name: string
- value: string
Returns void
delete
- delete(name): void
Returns void
entries
- entries(): IterableIterator<[key: string, value: string]>
Returns IterableIterator<[key: string, value: string]>
forEach
- forEach<This>(callback, thisArg?): void
Parameters
- callback: ((this, value, key, parent) => void)
- (this, value, key, parent): void
Returns void
Optional
thisArg: This
Returns void
get
- get(name): string
Returns string
getAll
- getAll(name): string[]
Returns string[]
has
- has(name): boolean
Returns boolean
keys
- keys(): IterableIterator<string>
Returns IterableIterator<string>
set
- set(name, value): void
Parameters
- name: string
- value: string
Returns void
values
- values(): IterableIterator<string>
Returns IterableIterator<string>
Returns an iterator allowing to go through all key/value pairs contained in this object.