研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >Google Workspace >allInputsFilled
检查工作区中的所有值和语句输入是否均填入了块。
Signature:
allInputsFilled(opt_shadowBlocksAreFilled?: boolean): boolean;
参数
参数 |
类型 |
说明 |
opt_shadowBlocksAreFilled |
布尔值 |
(可选)可选参数,用于控制是否将阴影块计为已填充。默认值为 true。 |
返回:
布尔值
如果所有输入都已填充,则为 true,否则为 false。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["The `allInputsFilled()` method checks if all value and statement inputs in a Blockly workspace have blocks in them."],["It returns `true` if all inputs are filled and `false` otherwise."],["An optional argument `opt_shadowBlocksAreFilled` controls whether shadow blocks are considered filled (defaults to `true`)."]]],[]]