Previous | Up | Next |
Search a function/variable in the current environment. Return 1 if the function was found. It is usefull to test the presence of specific extensions (such as SQL plugin) before compiling a package referencing these functions : if you compile a package referencing missing functions, an runtime error will occur.Parameters
I _test_exist ( S _function_name_ )
Return value
_function_name_ any name of function
1 if the function exists, 0 or nil if not.
Error :
See also _envHasFun.