ee.call
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wywołaj funkcję z podanymi argumentami pozycyjnymi.
Zwraca obiekt reprezentujący wywołaną funkcję. Jeśli sygnatura określa rozpoznany typ zwracany, zwrócona wartość zostanie przekształcona na ten typ.
Wykorzystanie | Zwroty |
---|
ee.call(func, var_args) | ComputedObject |
Argument | Typ | Szczegóły |
---|
func | Funkcja|Ciąg znaków | Funkcja do wywołania. Obiekt ee.Function lub nazwa funkcji interfejsu API. |
var_args | VarArgs<Object> | Argumenty pozycyjne do przekazania do funkcji. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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. |"]]