Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
blockly > isPaster
Funzione isPaster()
Firma:
export declare function isPaster(obj: any): obj is IPaster<ICopyData, ICopyable<ICopyData>>;
Parametri
Parametro |
Tipo |
Descrizione |
obj |
qualsiasi |
|
Resi:
obj è IPaster<ICopyData, ICopyable<ICopyData>>
True se l'oggetto specificato è un paster.
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 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[],["The `isPaster()` function determines if a given object is a \"paster.\" It accepts any object as input (`obj`). The function's return value indicates whether the provided object conforms to the `IPaster` interface, using type guards, and further specifies that it utilizes `ICopyData` and `ICopyable` for its operations. If it is a paster then the return will be true. Otherwise, it will be false.\n"],null,[]]