Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DOMStringList

A type returned by some APIs which contains a list of DOMString (strings).

interface DOMStringList {
[index: number]: string;
readonly length: number;
[[Symbol.iterator]](): IterableIterator<string>;
contains(string: string): boolean;
item(index: number): string | null;
}
var DOMStringList: {
prototype: DOMStringList;
new (): DOMStringList;
}
;

§Index Signatures

§
[index: number]: string

§Properties

§
readonly length: number
[src]

Returns the number of strings in strings.

§Methods

§
[[Symbol.iterator]](): IterableIterator<string>
[src]
§
contains(string: string): boolean
[src]

Returns true if strings contains string, and false otherwise.

§
item(index: number): string | null
[src]

Returns the string with index index from strings.