contains method

bool contains(
  1. String token
)

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

Implementation

external bool contains(String token);