Pike v8.0 release 1738

Method Function.defined()


Method defined

string defined(function(:void) fun)

Description

Returns a string with filename and linenumber where fun was defined.

Returns 0 (zero) when no line can be found, e.g. for builtin functions and functions in destructed objects.