blockly > Workspace > allInputsFilled
Checks whether all value and statement inputs in the workspace are filled with blocks.
Signature:
allInputsFilled(opt_shadowBlocksAreFilled?: boolean): boolean;
Parameters
Parameter |
Type |
Description |
opt_shadowBlocksAreFilled |
boolean |
(Optional) An optional argument controlling whether shadow blocks are counted as filled. Defaults to true. |
Returns:
boolean
True if all inputs are filled, false otherwise.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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`)."]]],[]]