callAsFunction(args:)¶ Calls the receiver. Declaration @discardableResult func callAsFunction( args: [( any Parsable )?] ) throws -> Object Parameters args: Positional arguments. Throws An Exception in case of a Python exception. Otherwise, an Error. Returns The function’s result value.