MediaKeyStatusMap: has() method
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The has()
method 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
A Boolean
.
Specifications
Specification |
---|
Encrypted Media Extensions # dom-mediakeystatusmap-has |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
has |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.