Pike v8.1 release 6

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.