blockly > hasBubble
Funzione hasBubble()
Protezione dei tipi che verifica se l'oggetto specificato è un IHasBubble.
Firma:
export declare function hasBubble(obj: any): obj is IHasBubble;
Parametri
Parametro |
Tipo |
Descrizione |
obj |
qualsiasi |
|
Resi:
obj è IHasBubble
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-21 UTC.
[null,null,["Ultimo aggiornamento 2024-08-21 UTC."],[[["The `hasBubble()` function is a type guard used to determine if an object is an instance of the `IHasBubble` interface."],["It accepts any object as input (`obj`) and returns a boolean indicating whether the object conforms to the `IHasBubble` interface."],["This function is part of the Blockly library within a module or section focusing on bubble-related functionalities."]]],[]]