Skip to main content

Home > blockly > Workspace > allInputsFilled

Workspace.allInputsFilled() method

Checks whether all value and statement inputs in the workspace are filled with blocks.

Signature:

allInputsFilled(opt_shadowBlocksAreFilled?: boolean): boolean;

Parameters

ParameterTypeDescription
opt_shadowBlocksAreFilledboolean(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.