ee.Number.first_nonzero

Selects the first value if it is non-zero, and the second value otherwise.

UsageReturns
Number.first_nonzero(right)Number
ArgumentTypeDetails
this: leftNumber

The left-hand value.

rightNumber

The right-hand value.