Pike v8.0 release 1738

Method function_program()


Method function_program

program function_program(function(:void)|program f)

Description

Return the program the function f is in.

If f is a global function defined in the runtime 0 (zero) will be returned.

See also

function_name(), function_object()