function-available

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

Die Funktion function-available bestimmt, ob eine gegebene Funktion verfügbar ist, und gibt entweder den booleschen Wert true oder false zurück.

Syntax

function-available( name )

Parameter

name

Der Name der zu testenden Funktion.

Rückgabewert

Boolescher Wert true oder false.

Spezifikationen

Gecko-Unterstützung

Unterstützt.