संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > ब्लॉक करें > removeInput
इस ब्लॉक से कोई इनपुट हटाएं.
हस्ताक्षर:
removeInput(name: string, opt_quiet?: boolean): boolean;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
नाम |
स्ट्रिंग |
इनपुट का नाम. |
opt_quiet |
बूलियन |
(ज़रूरी नहीं) इनपुट न होने पर गड़बड़ी से बचने के लिए, सही का निशान लगाएं. |
लौटाए जाने वाले प्रॉडक्ट:
बूलियन
कार्रवाई पूरी होने पर 'सही', अगर इनपुट मौजूद नहीं है, तो 'गलत' और opt_quiet सही है.
अपवाद
{गड़बड़ी}, अगर इनपुट मौजूद नहीं है और opt_quiet सही नहीं है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-28 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-28 (UTC) को अपडेट किया गया."],[],["The `Block.removeInput()` method removes an input from a block using the input's name. It accepts two parameters: `name` (a string specifying the input's name) and an optional `opt_quiet` (a boolean). If `opt_quiet` is true, the method returns false if the input is absent. If `opt_quiet` is false (or omitted) and the input is not found, it throws an error. The method returns `true` if the input is successfully removed.\n"]]