abstract fun assert(condition: Boolean = definedExternally, vararg data: ERROR CLASS: Symbol not found for JsAny??)(source) The console.assert() static method writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
MDN Reference