MediaKeyStatusMap: has() method

The has property of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.

Syntax

js

has(key)

Parameters

key

The key whose value you want returned

Return value

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeystatusmap-has

Browser compatibility

BCD tables only load in the browser