रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > ब्लॉक करें > getInheritedDisabled
Block.getInheritedDisabled() मेथड
यह देखें कि ब्लॉक किया गया ऐक्सेस, माता-पिता की वजह से बंद हुआ है या नहीं. ब्लॉक की बंद की गई प्रॉपर्टी को शामिल नहीं किया जाता.
हस्ताक्षर:
getInheritedDisabled(): boolean;
लौटाए जाने वाले प्रॉडक्ट:
बूलियन
बंद होने पर 'सही'.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["This method, `getInheritedDisabled()`, determines if a block is disabled based on the disabled status of its parent blocks."],["It only considers the disabled status inherited from parent blocks, ignoring the block's own `disabled` property."],["The method returns `true` if the block is disabled due to its parent(s), and `false` otherwise."]]],["The `Block.getInheritedDisabled()` method determines if a block is disabled because of its parent blocks. It does not consider the block's own disabled state. The method returns a boolean value: `true` if the block is disabled due to inheritance, and `false` otherwise. It essentially checks the parent's disabled status and reports accordingly.\n"]]