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|StringThe function to call. Either an ee.Function object or the name of an API function.
namedArgsObjectA dictionary of arguments to the function.