Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

contains

Description

The contains of DOMTokenList for JS returns true if token is present; otherwise false.

Syntax

tokenlist.contains(token)

Parameters

token

A string.

Examples

1 · false

2 · true

add

item

length

remove

replace

supports

toggle

value

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu