MDN self-hosted library · e01.org

MediaKeyStatusMap: has() method

Encrypted Media Extensions

no runnable cells web-api-instance-method upstream source

Encrypted Media Extensions

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

Syntax

has(key)

Parameters

  • key
  • : The key whose value you want returned

Return value

A Boolean.

Specifications

Browser compatibility