deno / 1.23.2 / ~ / domstringlist.html /

DOMStringList

interface DOMStringList {
[ index: number] : string;
readonly length : number;
contains( string: string) : boolean;
item( index: number) : string | null;
}

Index Signatures

[ index: number] : string

Properties

readonly length : number

Returns the number of strings in strings.

Methods

contains( string: string) : boolean

Returns true if strings contains string, and false otherwise.

item( index: number) : string | null

Returns the string with index index from strings.

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/DOMStringList