function
Retrieves a standard library function by name and configures its argument types and return type before returning the callable object.
def function(
name: string,
args: list,
restype: any
) - > callable
Configures and returns a standard call function pointer with specified argument and return types.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The name of the library function to be retrieved via standard call. |
| args | list | A sequence of types representing the expected data types for the function's arguments. |
| restype | any | The expected data type of the value returned by the function. |
Returns
| Type | Description |
|---|---|
callable | A callable function object with the defined argument types and return type signature applied. |