গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ব্লক > আছে আইকন
Block.hasIcon() পদ্ধতি
স্বাক্ষর:
hasIcon(type: IconType<IIcon>): boolean;
পরামিতি
রিটার্ন:
বুলিয়ান
ব্লকে প্রদত্ত ধরনের আইকন থাকলে সত্য, অন্যথায় মিথ্যা।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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 `Block.hasIcon()` method checks for the presence of a specific icon type on a block."],["It accepts an `IconType` as input and returns `true` if the icon is found, otherwise `false`."]]],["The `Block.hasIcon()` method checks for the existence of a specific icon type on a block. It takes one parameter, `type`, of `IconType\u003cIIcon\u003e`. The method returns a boolean value: `true` if an icon of the specified type is present on the block, and `false` if it is not. It determines whether the block contains an icon with the given icon `type`.\n"]]