blockly > isVariableBackedParameterModel
Funzione isVariableBackedParameterModel()
Restituisce se l'oggetto specificato è un contenitore di variabili o meno.
Firma:
export declare function isVariableBackedParameterModel(param: IParameterModel): param is IVariableBackedParameterModel;
Parametri
Resi:
il parametro è IVariableBackedParameterModel
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-22 UTC.
[null,null,["Ultimo aggiornamento 2024-08-22 UTC."],[[["Determines if an object is a variable holder using the `isVariableBackedParameterModel()` function."],["This function accepts an `IParameterModel` object as input and returns true if it's an `IVariableBackedParameterModel`, indicating it holds a variable."]]],["The `isVariableBackedParameterModel()` function determines if a given object is a variable holder. It accepts a parameter of type `IParameterModel` and returns a boolean indicating whether this parameter is also of type `IVariableBackedParameterModel`. The function's core action is to check the type of the input `param` against the `IVariableBackedParameterModel` interface, providing a true/false answer regarding its variable-holding capability.\n"]]