upperBound

fun upperBound(upper: JsAny?, open: Boolean = definedExternally): IDBKeyRange(source)

The upperBound() static method of the it includes the upper endpoint value and is closed.

MDN Reference