MediaKeyStatusMap: has() Methode
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
Sicherer Kontext: Diese Funktion ist nur in sicheren Kontexten (HTTPS) in einigen oder allen unterstützenden Browsern verfügbar.
Die has()
Methode des
MediaKeyStatusMap
-Interfaces gibt einen Boolean
zurück, der angibt, ob ein Wert mit dem angegebenen Schlüssel verknüpft wurde.
Syntax
js
has(key)
Parameter
key
-
Der Schlüssel, dessen Wert Sie zurückgegeben haben möchten
Rückgabewert
Ein Boolean
.
Spezifikationen
Specification |
---|
Encrypted Media Extensions # dom-mediakeystatusmap-has |
Browser-Kompatibilität
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.