रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > ब्लॉक करें > getCommentText
इस ब्लॉक पर टिप्पणी लौटाता है (या कोई टिप्पणी न होने पर शून्य).
हस्ताक्षर:
getCommentText(): string | null;
लौटाए जाने वाले प्रॉडक्ट:
स्ट्रिंग | शून्य
की गई टिप्पणी को ब्लॉक करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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 returns the text content of a comment associated with a specific block."],["If the block doesn't have a comment, the method will return null instead of a string."],["The method signature indicates it takes no input and returns either a string (the comment) or null."]]],[]]