Extracted from Pike v7.6 release 33 at 2005-08-19.
pike.ida.liu.se
[Top]
Function

Method Function.defined()


Method defined

string Function.defined(function 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.