研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >isVariableBackedParameterModel
isVariableBackedParameterModel() 函数
返回指定对象是否为变量容器的指示值。
Signature:
export declare function isVariableBackedParameterModel(param: IParameterModel): param is IVariableBackedParameterModel;
参数
返回:
参数为 IVariableBackedParameterModel
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["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"]]