blockly > Block > allInputsFilled
يتحقّق بشكل متكرّر مما إذا كانت جميع مدخلات العبارة والقيمة مملوءة بكتل. تتحقّق أيضًا من جميع وحدات العبارات التالية في هذه الحزمة.
Signature:
allInputsFilled(opt_shadowBlocksAreFilled?: boolean): boolean;
المعلمات
المَعلمة |
النوع |
الوصف |
opt_shadowBlocksAreFilled |
قيمة منطقية |
(اختياري) وسيطة اختيارية تتحكم في ما إذا كان سيتم احتساب كتل الظل كمعبأة. الإعداد التلقائي هو true. |
المرتجعات:
قيمة منطقية
True في حالة ملء كل الإدخالات، وخطأ في الحالات الأخرى.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `allInputsFilled()` method in Blockly recursively checks if all statement and value inputs within a block, and subsequent statement blocks in the stack, are filled with blocks."],["It accepts an optional boolean parameter, `opt_shadowBlocksAreFilled`, to determine if shadow blocks should be considered as filled (defaults to true)."],["This method returns `true` if all inputs are filled and `false` otherwise, providing a way to validate the completeness of a block's connections."]]],["The `Block.allInputsFilled()` method recursively verifies if all statement and value inputs within a block, including its following statement blocks, are filled. It accepts an optional boolean parameter, `opt_shadowBlocksAreFilled`, to determine if shadow blocks should be considered as filled (default: true). The method returns `true` if all inputs are filled, and `false` otherwise.\n"]]