A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes below:

IDBKeyRange: includes() method - Web APIs

IDBKeyRange: includes() method

Baseline Widely available

Note: This feature is available in Web Workers.

The includes() method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range.

Syntax Parameters
key

The key you want to check for in your key range. This can be any type.

Return value

A boolean value.

Exceptions
DataError DOMException

Thrown if the supplied key was not a valid key.

Examples
const keyRangeValue = IDBKeyRange.bound("A", "K", false, false);

keyRangeValue.includes("F");
// Returns true

keyRangeValue.includes("W");
// Returns false
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4