Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

DOMTokenList.contains()

3 tags 1 category

The contains() method of the DOMTokenList interface returns a boolean value — true if the underlying list contains the given token, otherwise false.

Inputs: token A string representing the token you want to check for the existence of in the list.

Returns: A boolean value, which is true if the calling list contains token, otherwise false.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…