Pchp.Library.Functions.function_exists C# (CSharp) Method

function_exists() public static method

Checks the list of defined functions, both built-in and user-defined.
public static function_exists ( Context ctx, string name ) : bool
ctx Pchp.Core.Context
name string
return bool
        public static bool function_exists(Context ctx, string name)
        {
            return ctx.GetDeclaredFunction(name) != null;
        }
    }