গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ব্লক > getInputTargetBlock
নামযুক্ত ইনপুটের সাথে সংযুক্ত ব্লকটি নিয়ে আসে।
স্বাক্ষর:
getInputTargetBlock(name: string): Block | null;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
নাম | স্ট্রিং | ইনপুটের নাম। |
রিটার্ন:
ব্লক | নাল
সংযুক্ত মান ব্লক বা ইনপুট সংযোগ বিচ্ছিন্ন হলে বা ইনপুট বিদ্যমান না থাকলে নাল।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `getInputTargetBlock()` method retrieves the block connected to a specific input of the current block."],["It requires the `name` of the input as a parameter to identify the target connection."],["The method returns the connected block if found, otherwise it returns `null` if the input is empty or doesn't exist."]]],["The `getInputTargetBlock()` method retrieves a block connected to a specified input on a given block. It accepts the input's name as a string. The method returns the attached block if one exists; otherwise, it returns `null` if the input is disconnected or doesn't exist. The return type is either a `Block` or `null`.\n"]]