Pike v8.0 release 1738

Method Pike.get_return_type()


Method get_return_type

type get_return_type(type fun_type)

Description

Check what a function of the type fun_type will return if called with no arguments.

Returns

Returns the type of the returned value on success

Returns 0 (zero) on failure.