ee.Number.expression

Computes a numeric expression.

UsageReturns
ee.Number.expression(expression, vars)Number
ArgumentTypeDetails
expressionString

A mathematical expression string to be evaluated. In addiiton to the standard arithmetic, boolean and relational operators, expressions also support any function in Number, the '.' operator to extract child elements from the 'vars' dictionary, and mathematical constants Math.PI and Math.E

varsDictionary, default: null

A dictionary of named values that can be used in the expression.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!