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

supports

Description

The supports of DOMTokenList for JS returns true if token is in the associated attribute’s supported tokens. Returns false otherwise.

Throws a TypeError if the associated attribute has no supported tokens defined.

Syntax

tokenlist.supports(token)

Parameters

token

A string.

Examples

1 · false

2 · true