Firefox Tomorrow

web api instance method

MediaKeyStatusMap: has() method

View on MDN ↗

Secure context

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.