Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
instanceof
Das Schlüsselwort "instanceof" bezeichnet zugleich auch einen Operator.
Likewise the keyword "instanceof" designates an operator.
Der instanceof Operator prüft, ob ein Objekt die prototype Eigenschaft einer Konstruktorfunktion in seiner Prototypenkette besitzt.
The instanceof operator tests whether an object has in its prototype chain the prototype property of a constructor.
Um diesen Fehler zu beheben, kann entweder der instanceof Operator durch einen typeof Operator ersetzt werden, oder man muss sicher stellen, dass ein Funktionsname statt einem Resultat seines Aufrufes benutzt werden.
To fix these errors, you will either need to replace the instanceof operator with the typeof operator, or to make sure you use the function name, instead of the result of its evaluation.
instanceof löst keinen Fehler aus, wenn die getestete Variable kein Objekt ist; es gibt dann einfach FALSE zurück.
instanceof does not throw any error if the variable being tested is not an object, it simply returns FALSE.
Dazu benutzt man das Java-Kommando instanceof wie oben gezeigt.
Use the Java command instanceof to detect the type of unknown values as shown above.
Der instanceof Operator wurde in PHP 5 eingeführt.
The instanceof operator was introduced in PHP 5.
Beispiel #3 Verwendung von instanceof, um zu prüfen, ob ein Objekt kein Exemplar einer Klasse ist<? php
Example #3 Using instanceof to check if object is not an instanceof a class<? php
Der instanceof Operator prüft die Anwesenheit des constructor.prototype in der Prototypenkette eines Objekts.
Function to test against Description The instanceof operator tests presence of constructor.prototype in object's prototype chain.
Für Debugging zwecke, sowie gezielte Fehlerverarbeitung ist es empfehlenswert, als reason eine instanceof Error. zu verwenden. Beispiele
For debugging purposes and selective error catching, it is useful to make reason an instanceof Error. Examples
Der Parameter muss entweder ein Array oder ein instanceof Traversable sein.
The parameter must be either an array or an instanceof Traversable.
Verbessert die Code-Analyse und integriert Warnungen bis zur Version PHP 7.3-: Nachgestellte Kommata, Listenref-Zuweisung, Instanceof mit Literalen.
Improves code analysis, added PHP up to 7.3 warnings: trailing commas, list ref assignment, instanceof with literal.
Die Funktion instanceOf ist gegenwärtig im Kapitel "XPRESS Language" nicht dokumentiert.
The instanceOf function is not currently documented in the XPRESS language chapter.
Ist vor dem Aufruf von instanceof eine Nullprüfung erforderlich?
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.