ee.Image.arrayLength

Returns the length of each pixel's array along the given axis.
UsageReturns
Image.arrayLength(axis)Image
ArgumentTypeDetails
this: inputImageInput image.
axisIntegerThe axis along which to take the length.