ee.Array.toShort
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, हर एलिमेंट के हिसाब से इनपुट वैल्यू को साइंड 16-बिट पूर्णांक में बदलता है.
इस्तेमाल | रिटर्न |
---|
Array.toShort() | Array |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: input | Array | इनपुट ऐरे. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003etoShort()\u003c/code\u003e method converts each element of an input array to a signed 16-bit integer.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on an element-by-element basis, transforming the original array into a new array containing the converted values.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes the input array as an argument and returns a new array with the converted values, leaving the original array unchanged.\u003c/p\u003e\n"]]],["The input array is cast element-wise to a signed 16-bit integer. The `toShort()` method, when applied to an array, returns a new array with the converted values. The input array itself serves as the argument for this operation. The method operates on each element of the given array and convert it to a short type.\n"],null,["# ee.Array.toShort\n\nOn an element-wise basis, casts the input value to a signed 16-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Array.toShort`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]