ee.Number.clamp

Clamps the value to lie within the range of min to max.

UsageReturns
ee.Number.clamp(number, min, max)Number
ArgumentTypeDetails
numberFloat

minFloat

maxFloat

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!