FunctionDef#

class swordfish._swordfishcpp.FunctionDef(func: FunctionType, *, name: str = '<lambda>', aggregation: bool = None)#
class swordfish._swordfishcpp.FunctionDef(code: str, *, state: bool = False)

Represents a function definition.

Inherits from the Constant class and provides a way to treat function definitions.

set_meta(signature, alias)#
Return type:

None