গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ব্লক > সেটআউটপুট
Block.setOutput() পদ্ধতি
এই ব্লক একটি মান প্রদান করে কিনা সেট করুন।
স্বাক্ষর:
setOutput(newBoolean: boolean, opt_check?: string | string[] | null): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
নতুন বুলিয়ান | বুলিয়ান | আউটপুট থাকলে সত্য। |
opt_check | স্ট্রিং | স্ট্রিং[] | নাল | (ঐচ্ছিক) প্রত্যাবর্তিত প্রকার বা প্রত্যাবর্তিত প্রকারের তালিকা। নাল বা অনির্ধারিত যদি কোনো প্রকার ফেরত দেওয়া যায় (যেমন পরিবর্তনশীল পান)। |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-14 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-14 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `setOutput` method determines if a block produces a value or not."],["It takes a boolean argument (`newBoolean`) indicating the output status and an optional `opt_check` for specifying the output type(s)."],["Calling `setOutput` does not return any value (void)."]]],["The `Block.setOutput()` method determines if a block returns a value. It accepts a boolean `newBoolean`: `true` indicates an output exists, `false` otherwise. An optional `opt_check` parameter specifies the type or types returned, using a string or string array. If `null` or `undefined`, any type is acceptable. The method's return type is `void`. The key actions are setting and defining the parameters of a block's output status and its type.\n"]]