upperBound

fun upperBound(upper: ERROR CLASS: Symbol not found for JsAny??, open: Boolean = definedExternally): IDBKeyRange(source)

The upperBound() static method of the IDBKeyRange interface creates a new upper-bound key range. By default, it includes the upper endpoint value and is closed.

MDN Reference