upperBound

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

The upperBound() static method of the IDBKeyRange interface creates a new upper-bound key range.

MDN Reference