ee.apply

Call a function with a dictionary of named arguments.

Returns an object representing the called function. If the signature specifies a recognized return type, the returned value will be cast to that type.

UsageReturns
ee.apply(func, namedArgs)ComputedObject
ArgumentTypeDetails
funcFunction|String

The function to call. Either an ee.Function object or the name of an API function.

namedArgsObject

A dictionary of arguments to the function.