call#

swordfish.call(function, *args)#

Call the specified function with the provided arguments.

Parameters:

function (str) – A string indicating the name of the function to be called.

Returns:

The result of calling the function.

Return type:

Constant

Examples

>>> import swordfish as sf
>>> sf.call("add", 10, 20)
Long(30)