Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.call
Stay organized with collections
Save and categorize content based on your preferences.
Call a function with the given positional 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.
Usage | Returns | ee.call(func, var_args) | ComputedObject |
Argument | Type | Details | func | Function|String | The function to call. Either an ee.Function object or the name of an API function. |
var_args | VarArgs<Object> | Positional arguments to pass to the function. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-08 UTC.
[null,null,["Last updated 2025-07-08 UTC."],[[["\u003cp\u003e\u003ccode\u003eee.call()\u003c/code\u003e executes a specified function with provided arguments, returning a \u003ccode\u003eComputedObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a function (as an \u003ccode\u003eee.Function\u003c/code\u003e object or an API function name) and positional arguments.\u003c/p\u003e\n"],["\u003cp\u003eIf the function's signature defines a specific return type, the output is automatically cast to that type.\u003c/p\u003e\n"]]],[],null,["# ee.call\n\n\u003cbr /\u003e\n\nCall a function with the given positional arguments.\n\n\u003cbr /\u003e\n\nReturns an object representing the called function. If the signature specifies a recognized return type, the returned value will be cast to that type.\n\n| Usage | Returns |\n|---------------------------|----------------|\n| `ee.call(func, var_args)` | ComputedObject |\n\n| Argument | Type | Details |\n|------------|-------------------|------------------------------------------------------------------------------------|\n| `func` | Function\\|String | The function to call. Either an ee.Function object or the name of an API function. |\n| `var_args` | VarArgs\\\u003cObject\\\u003e | Positional arguments to pass to the function. |"]]