Funzione registry.hasItem()
Indica se il registry contiene o meno un elemento con il tipo e il nome specificati.
Firma:
export declare function hasItem<T>(type: string | Type<T>, name: string): boolean;
Parametri
Parametro | Tipo | Descrizione |
---|---|---|
digita | stringa | Tipo<T> | Il tipo del plug-in. (ad es. campo, renderer) |
nome | stringa | Il nome del plug-in. (Ad es. field_angle, geras) |
Resi:
boolean
True se il registro ha un elemento con il tipo e il nome specificati, altrimenti false.