kotlin-stdlib / org.w3c.dom / DOMTokenList / toggle toggle JS 1.1 fun toggle( token: String, force: Boolean = definedExternally): Boolean(source)