ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.List.reduce
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি তালিকায় একটি হ্রাসকারী প্রয়োগ করুন। যদি রিডিউসার 1টির বেশি ইনপুট নেয়, তাহলে তালিকার প্রতিটি উপাদানকে ইনপুটগুলির একটি তালিকা বলে ধরে নেওয়া হয়। যদি রিডুসার একটি একক আউটপুট প্রদান করে, তবে এটি সরাসরি ফেরত দেওয়া হয়, অন্যথায় নামযুক্ত রিডুসার আউটপুট সমন্বিত একটি অভিধান প্রদান করে।
ব্যবহার | রিটার্নস | List. reduce (reducer) | অবজেক্ট |
যুক্তি | টাইপ | বিস্তারিত | এই: list | তালিকা | |
reducer | হ্রাসকারী | |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eList.reduce\u003c/code\u003e applies a given reducer function to a list, processing each element individually or as a list of inputs for the reducer.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns a single output directly if the reducer produces one, otherwise it returns a dictionary containing named outputs from the reducer.\u003c/p\u003e\n"],["\u003cp\u003eThis function operates on a list and requires a reducer as input, streamlining the application of reducing functions to list data.\u003c/p\u003e\n"]]],["A `reducer` function is applied to a `list`. If the `reducer` accepts multiple inputs, each list element is treated as a list of inputs. The output depends on the `reducer`: a single output is returned directly, whereas multiple outputs are returned as a dictionary with named outputs. The `list.reduce(reducer)` method is employed, returning an object. The method takes two arguments, a `list` and a `reducer`.\n"],null,["# ee.List.reduce\n\nApply a reducer to a list. If the reducer takes more than 1 input, then each element in the list is assumed to be a list of inputs. If the reducer returns a single output, it is returned directly, otherwise returns a dictionary containing the named reducer outputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| List.reduce`(reducer)` | Object |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `reducer` | Reducer | |"]]