HomeMenu
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