is

external fun is(value1: JsAny?, value2: JsAny?): Boolean(source)

MDN Reference