ee.Array.atan2

On an element-wise basis, calculates the angle formed by the 2D vector [x, y].
UsageReturns
Array.atan2(right)Array
ArgumentTypeDetails
this: leftArrayThe left-hand value.
rightArrayThe right-hand value.