Skip to main content

function_exists

Discworld efun help

function_exists

string function_exists(string str, object ob)

Return the file name of the object that defines the function str in object ob. The returned value can be other than file_name(ob) if the function is defined by an inherited object.

0 is returned if the function was not defined.