ui.Checkbox.getValue
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन बताता है कि चेकबॉक्स पर सही का निशान लगा है या नहीं. शून्य वैल्यू से पता चलता है कि चेकबॉक्स की स्थिति तय नहीं है.
इस्तेमाल | रिटर्न |
---|
Checkbox.getValue() | बूलियन |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.checkbox | ui.Checkbox | ui.Checkbox इंस्टेंस. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eCheckbox.getValue()\u003c/code\u003e returns a Boolean value indicating whether a checkbox is checked or not.\u003c/p\u003e\n"],["\u003cp\u003eA return value of \u003ccode\u003enull\u003c/code\u003e signifies that the checkbox is in an indeterminate state.\u003c/p\u003e\n"],["\u003cp\u003eThe method is used with a \u003ccode\u003eui.Checkbox\u003c/code\u003e instance to retrieve its current checked status.\u003c/p\u003e\n"]]],[],null,["# ui.Checkbox.getValue\n\n\u003cbr /\u003e\n\nReturns whether the checkbox is checked. A null value indicates the checkbox is in an indeterminate state.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Checkbox.getValue`()` | Boolean |\n\n| Argument | Type | Details |\n|---------------------|-------------|---------------------------|\n| this: `ui.checkbox` | ui.Checkbox | The ui.Checkbox instance. |"]]