ee.Array.length
Returns a 1-D ee.Array containing the length of each dimension of the given ee.Array.
Usage | Returns |
---|
Array.length() | Array |
Argument | Type | Details |
---|
this: array | Array | The array from which to extract the axis lengths. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Returns a 1-D array containing the length of each dimension of a given array."],["This function takes an array as input and provides the size of each of its dimensions."],["Usage involves calling the `length()` function on an existing ee.Array object."]]],["The `Array.length()` method calculates and returns the lengths of each dimension within a given array. It takes one argument, `array`, which represents the input array from which the dimensional lengths are determined. The method's output is a 1-D array containing these length values. Essentially, it provides the size of the array along each of its axes.\n"]]